From 051a55e0971492d3617f696b6189fe5c622b9ae3 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Tue, 19 Dec 2000 18:30:36 +0000 Subject: [PATCH] * system.h (getopt): Update prototype to match include/getopt.h. From-SVN: r38383 --- gcc/ChangeLog | 4 ++++ gcc/system.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2