diff options
author | Michael Meissner <meissner@cygnus.com> | 1998-04-20 13:27:00 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1998-04-20 13:27:00 +0000 |
commit | 763d7ce894b4211cb7977476ad691d7cbe194093 (patch) | |
tree | 42add4bb343cb743ea14d18ed21c20a75eba958a /gcc | |
parent | f55b1ca872b959ba97a662f2bec0308ba1ba0dc9 (diff) | |
download | gcc-763d7ce894b4211cb7977476ad691d7cbe194093.zip gcc-763d7ce894b4211cb7977476ad691d7cbe194093.tar.gz gcc-763d7ce894b4211cb7977476ad691d7cbe194093.tar.bz2 |
Fix warning when compiling g++.o
From-SVN: r19342
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/gcc.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f998afd..f89775f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. @@ -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. |