diff options
| author | joerg <joerg@NetBSD.org> | 2009-03-20 13:56:57 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2009-03-20 13:56:57 +0000 |
| commit | cc5989d71df870909f998d86e755c7ccfe60cef6 (patch) | |
| tree | cdcf0172916a52bff5e69428c934a8d53c6662f4 /lib/libc/stdlib | |
| parent | deb4c0bbb3fd28d8e79d1766b3b24c2162849ddd (diff) | |
ANSIfy. Remove conditional macros around __RCSID.
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/getopt.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/libc/stdlib/getopt.c b/lib/libc/stdlib/getopt.c index 5da83c687a1..976a06c7462 100644 --- a/lib/libc/stdlib/getopt.c +++ b/lib/libc/stdlib/getopt.c @@ -1,4 +1,4 @@ -/* $NetBSD: getopt.c,v 1.27 2005/11/29 03:12:00 christos Exp $ */ +/* $NetBSD: getopt.c,v 1.28 2009/03/20 13:56:57 joerg Exp $ */ /* * Copyright (c) 1987, 1993, 1994 @@ -30,13 +30,7 @@ */ #include <sys/cdefs.h> -#if defined(LIBC_SCCS) && !defined(lint) -#if 0 -static char sccsid[] = "@(#)getopt.c 8.3 (Berkeley) 4/27/95"; -#else -__RCSID("$NetBSD: getopt.c,v 1.27 2005/11/29 03:12:00 christos Exp $"); -#endif -#endif /* LIBC_SCCS and not lint */ +__RCSID("$NetBSD: getopt.c,v 1.28 2009/03/20 13:56:57 joerg Exp $"); #include "namespace.h" @@ -66,10 +60,7 @@ char *optarg; /* argument associated with option */ * Parse argc/argv argument vector. */ int -getopt(nargc, nargv, ostr) - int nargc; - char * const nargv[]; - const char *ostr; +getopt(int nargc, char * const nargv[], const char *ostr) { static const char *place = EMSG; /* option letter processing */ char *oli; /* option letter list index */ |
