aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 754fc24..ff21913 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -278,7 +278,7 @@ extern char *getenv PARAMS ((const char *));
#endif
#if defined (HAVE_DECL_GETOPT) && !HAVE_DECL_GETOPT
-extern int getopt PARAMS ((int, char **, char *));
+extern int getopt PARAMS ((int, char * const *, char *));
#endif
#if defined (HAVE_DECL_GETWD) && !HAVE_DECL_GETWD