OSDN Git Service

* getfacl (main): Remove extern declaration of optind.
authorcorinna <corinna>
Thu, 11 Sep 2003 07:55:51 +0000 (07:55 +0000)
committercorinna <corinna>
Thu, 11 Sep 2003 07:55:51 +0000 (07:55 +0000)
* setfacl (main): Remove extern declaration of optarg and optind.

winsup/utils/ChangeLog
winsup/utils/getfacl.c
winsup/utils/setfacl.c

index 58d941a..7520d4c 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-11  Corinna Vinschen  <corinna@vinschen.de>
+
+       * getfacl (main): Remove extern declaration of optind.
+       * setfacl (main): Remove extern declaration of optarg and optind.
+
 2003-09-10  Christopher Faylor  <cgf@redhat.com>
 
        * Makefile.in (cygcheck.o): Use MINGW_CXX for compilation.
index d9e245a..a4a3e0d 100644 (file)
@@ -143,7 +143,6 @@ Compiled on %s\n\
 int
 main (int argc, char **argv)
 {
-  extern int optind;
   int c, i;
   int aopt = 0;
   int dopt = 0;
index 734035e..996b5ec 100644 (file)
@@ -423,8 +423,6 @@ Compiled on %s\n\
 int
 main (int argc, char **argv)
 {
-  extern char *optarg;
-  extern int optind;
   int c;
   action_t action = NoAction;
   int ropt = 0;