* cygwin.din (__argv): Export.

(__argc): Ditto.
(__progname): Ditto.
* include/getopt.h (getopt_long): constify arguments.
* lib/getopt.c: Import new file from NetBSD.
This commit is contained in:
Christopher Faylor
2001-09-19 01:07:11 +00:00
parent 439defa230
commit 5733509e25
4 changed files with 419 additions and 306 deletions

View File

@ -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