aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-01-09 12:41:54 +0000
committerCorinna Vinschen <corinna@vinschen.de>2006-01-09 12:41:54 +0000
commit104fffd24dbf116e320773d5fc816097f4d0e38e (patch)
treee165e0e47dbd24b275f866b27e9b9d0dbcddece1
parent6c5da6783c421489df3c48c300849dc19894f5a5 (diff)
downloadnewlib-104fffd24dbf116e320773d5fc816097f4d0e38e.zip
newlib-104fffd24dbf116e320773d5fc816097f4d0e38e.tar.gz
newlib-104fffd24dbf116e320773d5fc816097f4d0e38e.tar.bz2
* include/getopt.h (getopt_long_only): Declare.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/getopt.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0dc9c9f..5e1d0e8 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-09 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/getopt.h (getopt_long_only): Declare.
+
2006-01-09 Eric Blake <ebb9@byu.net>
* cygwin.din: Export getsubopt.
diff --git a/winsup/cygwin/include/getopt.h b/winsup/cygwin/include/getopt.h
index 1efff1c..0c1c8c9 100644
--- a/winsup/cygwin/include/getopt.h
+++ b/winsup/cygwin/include/getopt.h
@@ -73,6 +73,8 @@ struct option {
};
int getopt_long (int, char *const *, const char *, const struct option *, int *);
+int getopt_long_only (int, char *const *, const char *, const struct option *, int *);
+
#ifndef HAVE_DECL_GETOPT
#define HAVE_DECL_GETOPT 1
#endif