diff options
author | obrien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
commit | 21d62aab619b3796c765c898c9caaa4179629580 (patch) | |
tree | 8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/ttyslot.c | |
parent | 675250e8eb2f1e93e8238f6611a7c3ae8d42d264 (diff) | |
download | FreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.zip FreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.tar.gz |
* Remove 'register'. (some functions had 7+ register functions...)
* Fix SCM ID's.
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 2f72ebb..2710e70 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; |