diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-03-21 18:49:23 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-03-21 18:49:23 +0000 |
| commit | 8fb3f3f68288ae2b1b53dd65e3dd673d83c80f4c (patch) | |
| tree | 12b252b7426e8a8904ef257bea10fea6038142f4 /lib/libc/stdlib/getsubopt.c | |
| parent | ddf23aa842f17afcb0e9bfd88bfad20f6431d0a3 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib/getsubopt.c')
| -rw-r--r-- | lib/libc/stdlib/getsubopt.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc/stdlib/getsubopt.c b/lib/libc/stdlib/getsubopt.c index bc055b881fa7..c27bcf6e6ce0 100644 --- a/lib/libc/stdlib/getsubopt.c +++ b/lib/libc/stdlib/getsubopt.c @@ -31,9 +31,11 @@ * SUCH DAMAGE. */ -#ifndef lint +#if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)getsubopt.c 8.1 (Berkeley) 6/4/93"; -#endif /* not lint */ +#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <unistd.h> #include <stdlib.h> @@ -48,11 +50,11 @@ char *suboptarg; int getsubopt(optionp, tokens, valuep) - register char **optionp, **valuep; - register char * const *tokens; + char **optionp, **valuep; + char * const *tokens; { - register int cnt; - register char *p; + int cnt; + char *p; suboptarg = *valuep = NULL; |
