* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user