OSDN Git Service

* system.h (getopt): Update prototype to match include/getopt.h.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Dec 2000 18:30:36 +0000 (18:30 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Dec 2000 18:30:36 +0000 (18:30 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38383 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/system.h

index 38b8b13..773fd88 100644 (file)
@@ -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.
 
index 754fc24..ff21913 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