From: Michael Meissner Date: Mon, 20 Apr 1998 13:27:00 +0000 (+0000) Subject: Fix warning when compiling g++.o X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=763d7ce894b4211cb7977476ad691d7cbe194093;p=gcc.git Fix warning when compiling g++.o From-SVN: r19342 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f998afd4503..f89775fb4d9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Mon Apr 20 14:48:29 1998 Michael Meissner + * gcc.c (lang_specific_driver): Declare prototype properly so + fatal can be passed to it without error. + * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr. * configure: Regenerate. * config.in: Add #undef's for strchr and strrchr. diff --git a/gcc/gcc.c b/gcc/gcc.c index ab1408f1f04..ed2ef72e216 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -265,8 +265,12 @@ char *xmalloc (); char *xrealloc (); #ifdef LANG_SPECIFIC_DRIVER +#ifdef HAVE_VPRINTF +extern void lang_specific_driver PROTO ((void (*) (char *, ...), int *, char ***, int *)); +#else extern void lang_specific_driver PROTO ((void (*) (), int *, char ***, int *)); #endif +#endif /* Specs are strings containing lines, each of which (if not blank) is made up of a program name, and arguments separated by spaces.