From: John David Anglin Date: Tue, 19 Dec 2000 18:30:36 +0000 (+0000) Subject: * system.h (getopt): Update prototype to match include/getopt.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=051a55e0971492d3617f696b6189fe5c622b9ae3;p=gcc.git * system.h (getopt): Update prototype to match include/getopt.h. From-SVN: r38383 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 38b8b13ca4e..773fd88e9bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-12-19 John David Anglin + + * system.h (getopt): Update prototype to match include/getopt.h. + 2000-12-19 John David Anglin From Jeff Law. 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