summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include/getopt.h')
-rw-r--r--winsup/cygwin/include/getopt.h2
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