From ca790d0f1df13731995232c9f9ad6da116f1eedc Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sat, 26 Feb 1994 18:09:13 +0000 Subject: * mips-tfile.c (fatal, error): Don't use prototypes ifndef HAVE_VPRINTF. From-SVN: r6629 --- gcc/mips-tfile.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc') diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index 50e24f8..f40e839 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -664,8 +664,14 @@ extern PTR_T xcalloc __proto((Size_t, Size_t)); extern PTR_T xrealloc __proto((PTR_T, Size_t)); extern void xfree __proto((PTR_T)); +#ifdef HAVE_VPRINTF extern void fatal __proto((char *format, ...)); extern void error __proto((char *format, ...)); +#else +/* We must not provide any prototype here, even if ANSI C. */ +extern void fatal __proto(()); +extern void error __proto(()); +#endif #ifndef MIPS_DEBUGGING_INFO -- cgit v1.1