summaryrefslogtreecommitdiffstats
path: root/lib/libcompat/4.4/cuserid.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompat/4.4/cuserid.c')
-rw-r--r--lib/libcompat/4.4/cuserid.c4
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)
OpenPOWER on IntegriCloud