diff options
author | 2003-06-10 22:20:44 +0000 | |
---|---|---|
committer | 2003-06-10 22:20:44 +0000 | |
commit | 1837a5ca509d93cac77d2e89322c0c4869f9215d (patch) | |
tree | 52dbe14a25e44bdf8161f4c51f39a50c072fe221 /usr.bin/getopt/getopt.c | |
parent | It would kind of help if the flags member was initialized, otherwise random (diff) | |
download | wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.tar.xz wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.zip |
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/getopt/getopt.c')
-rw-r--r-- | usr.bin/getopt/getopt.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/getopt/getopt.c b/usr.bin/getopt/getopt.c index 7ec53acc066..d09d282a625 100644 --- a/usr.bin/getopt/getopt.c +++ b/usr.bin/getopt/getopt.c @@ -1,16 +1,14 @@ -/* $OpenBSD: getopt.c,v 1.4 2001/07/12 05:17:09 deraadt Exp $ */ +/* $OpenBSD: getopt.c,v 1.5 2003/06/10 22:20:47 deraadt Exp $ */ #ifndef lint -static char rcsid[] = "$OpenBSD: getopt.c,v 1.4 2001/07/12 05:17:09 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: getopt.c,v 1.5 2003/06/10 22:20:47 deraadt Exp $"; #endif /* not lint */ #include <stdio.h> #include <unistd.h> int -main(argc, argv) -int argc; -char *argv[]; +main(int argc, char *argv[]) { extern int optind; extern char *optarg; |