removed all stupid register declarations

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1033 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-11-17 20:04:43 +00:00
parent 856df79afc
commit 239db0f710
37 changed files with 215 additions and 214 deletions

View File

@@ -249,7 +249,7 @@ auth_disable_name(char *name)
int
getauthmask(char *type, int *maskp)
{
register int x;
int x;
if (!strcasecmp(type, AUTHTYPE_NAME(0))) {
*maskp = -1;
@@ -545,8 +545,8 @@ auth_sendname(unsigned char *cp, int len)
{
static unsigned char str_request[256+6]
= { IAC, SB, TELOPT_AUTHENTICATION, TELQUAL_NAME, };
register unsigned char *e = str_request + 4;
register unsigned char *ee = &str_request[sizeof(str_request)-2];
unsigned char *e = str_request + 4;
unsigned char *ee = &str_request[sizeof(str_request)-2];
while (--len >= 0) {
if ((*e++ = *cp++) == IAC)
@@ -628,7 +628,7 @@ auth_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen)
void
auth_gen_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen)
{
register unsigned char *cp;
unsigned char *cp;
unsigned char tbuf[16];
cnt -= 3;