aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2000-12-19 18:30:36 +0000
committerRichard Henderson <rth@gcc.gnu.org>2000-12-19 10:30:36 -0800
commit051a55e0971492d3617f696b6189fe5c622b9ae3 (patch)
tree963a7b14e5abc81b853c09ce8f62532669e9de78 /gcc
parentb088998d296abe045b8a5d013bdfc51c67f52582 (diff)
downloadgcc-051a55e0971492d3617f696b6189fe5c622b9ae3.zip
gcc-051a55e0971492d3617f696b6189fe5c622b9ae3.tar.gz
gcc-051a55e0971492d3617f696b6189fe5c622b9ae3.tar.bz2
* system.h (getopt): Update prototype to match include/getopt.h.
From-SVN: r38383
Diffstat (limited to 'gcc')
-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 38b8b13..773fd88e 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 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