From: Doug Evans Date: Sun, 13 Feb 1994 07:34:55 +0000 (+0000) Subject: (fatal, error): Fix declarations (make dependant on HAVE_VPRINTF). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd2c2b2b62774451055a695122ce717327906658;p=gcc.git (fatal, error): Fix declarations (make dependant on HAVE_VPRINTF). From-SVN: r6545 --- 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 ();