aboutsummaryrefslogtreecommitdiff
path: root/winsup/utils
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-09-11 07:55:51 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-09-11 07:55:51 +0000
commita5ba4027f407e7f65172da83f3b4e0da09593913 (patch)
tree0214bb8ee8b6e5ba5ae20f6f68dff75d0163a4d5 /winsup/utils
parentbd79b736d4f7d223f34850db9a0805455fc2b3db (diff)
downloadnewlib-a5ba4027f407e7f65172da83f3b4e0da09593913.zip
newlib-a5ba4027f407e7f65172da83f3b4e0da09593913.tar.gz
newlib-a5ba4027f407e7f65172da83f3b4e0da09593913.tar.bz2
* getfacl (main): Remove extern declaration of optind.
* setfacl (main): Remove extern declaration of optarg and optind.
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/getfacl.c1
-rw-r--r--winsup/utils/setfacl.c2
3 files changed, 5 insertions, 3 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 58d941a..7520d4c 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -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.
diff --git a/winsup/utils/getfacl.c b/winsup/utils/getfacl.c
index d9e245a..a4a3e0d 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 734035e..996b5ec 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;