(fatal, error): Fix declarations (make dependant on HAVE_VPRINTF).
authorDoug Evans <dje@gnu.org>
Sun, 13 Feb 1994 07:34:55 +0000 (07:34 +0000)
committerDoug Evans <dje@gnu.org>
Sun, 13 Feb 1994 07:34:55 +0000 (07:34 +0000)
From-SVN: r6545

gcc/gcc.c

index 208dd043faaf9397925d18b2026383fefd1345d5..1ab4916615a647bd1da5163de469abf7a146ad81 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -214,8 +214,14 @@ static void give_switch            PROTO((int, int));
 static void pfatal_with_name   PROTO((char *));
 static void perror_with_name   PROTO((char *));
 static void perror_exec                PROTO((char *));
+#ifdef HAVE_VPRINTF
 static void fatal              PROTO((char *, ...));
 static void error              PROTO((char *, ...));
+#else
+/* We must not provide any prototype here, even if ANSI C.  */
+static void fatal              PROTO(());
+static void error              PROTO(());
+#endif
 
 void fancy_abort ();
 char *xmalloc ();