From: Jaakko Heinonen Date: Sun, 10 Mar 2002 20:42:44 +0000 (+0000) Subject: fix some warnings X-Git-Tag: upstream/0.6.1~2^2~292 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=e7c54d38271d82a22940c3f149ca67c89437c789;p=pkg%2Fabook.git fix some warnings --- 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);