From 1196344bb37334ed0f8808056a53ca058758843c Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 21 Mar 2002 18:49:23 +0000 Subject: Remove 'register' keyword. --- lib/libc/stdlib/getenv.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/libc/stdlib/getenv.c') diff --git a/lib/libc/stdlib/getenv.c b/lib/libc/stdlib/getenv.c index a6bbd35..24683f3 100644 --- a/lib/libc/stdlib/getenv.c +++ b/lib/libc/stdlib/getenv.c @@ -34,6 +34,8 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)getenv.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include +__FBSDID("$FreeBSD$"); #include #include @@ -52,13 +54,13 @@ inline char *__findenv __P((const char *, int *)); */ inline char * __findenv(name, offset) - register const char *name; + const char *name; int *offset; { extern char **environ; - register int len, i; - register const char *np; - register char **p, *cp; + int len, i; + const char *np; + char **p, *cp; if (name == NULL || environ == NULL) return (NULL); -- cgit v1.1