* system.h (getopt): Update prototype to match include/getopt.h.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Tue, 19 Dec 2000 18:30:36 +0000 (18:30 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 19 Dec 2000 18:30:36 +0000 (10:30 -0800)
From-SVN: r38383

gcc/ChangeLog
gcc/system.h

index 38b8b13ca4ec03579beaecebc388a830e7e20c6c..773fd88e9bde0e92d87d78e2fe1485c131c876a3 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 754fc242d70ee079ee8c7d322bab5ace7290d460..ff21913ca48cfe9b958fbab4860f0977f4602280 100644 (file)
@@ -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