Fix warning when compiling g++.o
authorMichael Meissner <meissner@cygnus.com>
Mon, 20 Apr 1998 13:27:00 +0000 (13:27 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Mon, 20 Apr 1998 13:27:00 +0000 (13:27 +0000)
From-SVN: r19342

gcc/ChangeLog
gcc/gcc.c

index f998afd4503e2d28c3c38281697aee74d76700c7..f89775fb4d9dc60b45f9e26bf33345d09b04262e 100644 (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.
index ab1408f1f04e63275968487b04ff70b25c224156..ed2ef72e216b16cb37d14890e8e7100f98661070 100644 (file)
--- 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
 \f
 /* Specs are strings containing lines, each of which (if not blank)
 is made up of a program name, and arguments separated by spaces.