From a5ba4027f407e7f65172da83f3b4e0da09593913 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 11 Sep 2003 07:55:51 +0000 Subject: [PATCH] * getfacl (main): Remove extern declaration of optind. * setfacl (main): Remove extern declaration of optarg and optind. --- winsup/utils/ChangeLog | 5 +++++ winsup/utils/getfacl.c | 1 - winsup/utils/setfacl.c | 2 -- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 58d941a54..7520d4c2d 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2003-09-11 Corinna Vinschen + + * getfacl (main): Remove extern declaration of optind. + * setfacl (main): Remove extern declaration of optarg and optind. + 2003-09-10 Christopher Faylor * Makefile.in (cygcheck.o): Use MINGW_CXX for compilation. diff --git a/winsup/utils/getfacl.c b/winsup/utils/getfacl.c index d9e245a31..a4a3e0df1 100644 --- a/winsup/utils/getfacl.c +++ b/winsup/utils/getfacl.c @@ -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; diff --git a/winsup/utils/setfacl.c b/winsup/utils/setfacl.c index 734035ec0..996b5ec7f 100644 --- a/winsup/utils/setfacl.c +++ b/winsup/utils/setfacl.c @@ -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;