diff options
Diffstat (limited to 'lib/libc/gen/ttyslot.c')
| -rw-r--r-- | lib/libc/gen/ttyslot.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/gen/ttyslot.c b/lib/libc/gen/ttyslot.c index 2f72ebbcc8e6..2710e7074d2e 100644 --- a/lib/libc/gen/ttyslot.c +++ b/lib/libc/gen/ttyslot.c @@ -34,6 +34,8 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)ttyslot.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <ttyent.h> #include <stdio.h> @@ -43,9 +45,9 @@ static char sccsid[] = "@(#)ttyslot.c 8.1 (Berkeley) 6/4/93"; int ttyslot() { - register struct ttyent *ttyp; - register int slot; - register char *p; + struct ttyent *ttyp; + int slot; + char *p; int cnt; char *name; |
