diff options
Diffstat (limited to 'misc/getttyent.c')
-rw-r--r-- | misc/getttyent.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/misc/getttyent.c b/misc/getttyent.c index b1e6376..18944e2 100644 --- a/misc/getttyent.c +++ b/misc/getttyent.c @@ -47,7 +47,7 @@ struct ttyent * getttynam(tty) const char *tty; { - register struct ttyent *t; + struct ttyent *t; setttyent(); while ((t = getttyent())) @@ -64,8 +64,8 @@ struct ttyent * getttyent() { static struct ttyent tty; - register int c; - register char *p; + int c; + char *p; #define MAXLINELENGTH 100 static char line[MAXLINELENGTH]; @@ -142,10 +142,10 @@ libc_hidden_def (getttyent) static char * internal_function skip(p) - register char *p; + char *p; { - register char *t; - register int c, q; + char *t; + int c, q; for (q = 0, t = p; (c = *p) != '\0'; p++) { if (c == '"') { @@ -177,7 +177,7 @@ skip(p) static char * internal_function value(p) - register char *p; + char *p; { return ((p = index(p, '=')) ? ++p : NULL); |