diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-21 23:39:28 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-21 23:39:28 +0000 |
commit | 084b4588f24346b3d369eaf49193461c380e8521 (patch) | |
tree | 1cbfa8bb28a9bf0d0b93ca61ac5323ef95e4c7f7 /lib/libcompat/4.4 | |
parent | 454845084c112df969ca14adced4fd6c1d7305b6 (diff) | |
download | FreeBSD-src-084b4588f24346b3d369eaf49193461c380e8521.zip FreeBSD-src-084b4588f24346b3d369eaf49193461c380e8521.tar.gz |
Remove 'register' keyword.
Diffstat (limited to 'lib/libcompat/4.4')
-rw-r--r-- | lib/libcompat/4.4/cuserid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcompat/4.4/cuserid.c b/lib/libcompat/4.4/cuserid.c index 2fc5cc8..e2f0988f 100644 --- a/lib/libcompat/4.4/cuserid.c +++ b/lib/libcompat/4.4/cuserid.c @@ -34,6 +34,8 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)cuserid.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <pwd.h> #include <stdio.h> @@ -44,7 +46,7 @@ char * cuserid(s) char *s; { - register struct passwd *pwd; + struct passwd *pwd; if ((pwd = getpwuid(geteuid())) == NULL) { if (s) |