summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/system.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 38b8b13ca4e..773fd88e9bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
+ * system.h (getopt): Update prototype to match include/getopt.h.
+
+2000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
From Jeff Law.
* pa.c (basereg_operand): Simplify.
diff --git a/gcc/system.h b/gcc/system.h
index 754fc242d70..ff21913ca48 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