aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
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/system.h
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/system.h')
-rw-r--r--gcc/system.h2
1 files changed, 1 insertions, 1 deletions
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