summaryrefslogtreecommitdiffstats
path: root/lib/libstand/getopt.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2011-05-03 04:44:50 +0000
committerrodrigc <rodrigc@FreeBSD.org>2011-05-03 04:44:50 +0000
commita857ffe8345f7868b2fb1f9f4b0606558ecba6ca (patch)
treedd1a97c9deeabee88f1a6bad49670fb4b20d470c /lib/libstand/getopt.c
parent2bce8b194c9921e7d4b53aacc97157a3861c35b5 (diff)
downloadFreeBSD-src-a857ffe8345f7868b2fb1f9f4b0606558ecba6ca.zip
FreeBSD-src-a857ffe8345f7868b2fb1f9f4b0606558ecba6ca.tar.gz
Switch to ANSI function prototypes in a few places.
Get rid of some unused parameter warnings.
Diffstat (limited to 'lib/libstand/getopt.c')
-rw-r--r--lib/libstand/getopt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libstand/getopt.c b/lib/libstand/getopt.c
index bb57fcd..cfe405a 100644
--- a/lib/libstand/getopt.c
+++ b/lib/libstand/getopt.c
@@ -52,10 +52,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 char *place = EMSG; /* option letter processing */
char *oli; /* option letter list index */
OpenPOWER on IntegriCloud