diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-19 01:07:11 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-19 01:07:11 +0000 |
commit | 5733509e25f40d3640c1648dcb89ae5234d097e8 (patch) | |
tree | 704e399cd6af206dcfc77186601ea90aae9fdcfd /winsup/cygwin/include/getopt.h | |
parent | 439defa2300878b2b87145e754ece9bc1d07ad26 (diff) | |
download | cygnal-5733509e25f40d3640c1648dcb89ae5234d097e8.tar.gz cygnal-5733509e25f40d3640c1648dcb89ae5234d097e8.tar.bz2 cygnal-5733509e25f40d3640c1648dcb89ae5234d097e8.zip |
* cygwin.din (__argv): Export.
(__argc): Ditto.
(__progname): Ditto.
* include/getopt.h (getopt_long): constify arguments.
* lib/getopt.c: Import new file from NetBSD.
Diffstat (limited to 'winsup/cygwin/include/getopt.h')
-rw-r--r-- | winsup/cygwin/include/getopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/getopt.h b/winsup/cygwin/include/getopt.h index 407a973ce..b05b32fdd 100644 --- a/winsup/cygwin/include/getopt.h +++ b/winsup/cygwin/include/getopt.h @@ -53,7 +53,7 @@ extern char *optarg; /* argument associated with option */ int getopt (int, char * const *, const char *); -int getopt_long (int, char **, char *, struct option *, int *); +int getopt_long (int, char *const *, const char *, const struct option *, int *); #define no_argument 0 #define required_argument 1 |