Fix warning when compiling g++.o

From-SVN: r19342
This commit is contained in:
Michael Meissner 1998-04-20 13:27:00 +00:00 committed by Michael Meissner
parent f55b1ca872
commit 763d7ce894
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
* 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.

View File

@ -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.