From 5733509e25f40d3640c1648dcb89ae5234d097e8 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 19 Sep 2001 01:07:11 +0000 Subject: * cygwin.din (__argv): Export. (__argc): Ditto. (__progname): Ditto. * include/getopt.h (getopt_long): constify arguments. * lib/getopt.c: Import new file from NetBSD. --- winsup/cygwin/include/getopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/include/getopt.h') 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 -- cgit v1.2.3