From e7c54d38271d82a22940c3f149ca67c89437c789 Mon Sep 17 00:00:00 2001 From: Jaakko Heinonen Date: Sun, 10 Mar 2002 20:42:44 +0000 Subject: [PATCH] fix some warnings --- getopt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/getopt.c b/getopt.c index 0f41fb6..ee819c1 100644 --- a/getopt.c +++ b/getopt.c @@ -43,6 +43,7 @@ #endif #include +#include /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C @@ -656,10 +657,12 @@ int _("%s: option `--%s' doesn't allow an argument\n"), argv[0], pfound->name); else + { /* +option or -option */ fprintf(stderr, _("%s: option `%c%s' doesn't allow an argument\n"), argv[0], argv[optind - 1][0], pfound->name); + } nextchar += strlen(nextchar); -- 2.39.2