From fd2c2b2b62774451055a695122ce717327906658 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sun, 13 Feb 1994 07:34:55 +0000 Subject: [PATCH] (fatal, error): Fix declarations (make dependant on HAVE_VPRINTF). From-SVN: r6545 --- gcc/gcc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/gcc.c b/gcc/gcc.c index 208dd043faa..1ab4916615a 100644 --- 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 (); -- 2.30.2