aboutsummaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1994-02-26 18:09:13 +0000
committerDoug Evans <dje@gnu.org>1994-02-26 18:09:13 +0000
commitca790d0f1df13731995232c9f9ad6da116f1eedc (patch)
tree0d0dc9447954ca88194ea65a1fcc8214d0ca8a51 /gcc/mips-tfile.c
parent46eeda17171bc5a3b2877d4c470465ff284713a7 (diff)
downloadgcc-ca790d0f1df13731995232c9f9ad6da116f1eedc.zip
gcc-ca790d0f1df13731995232c9f9ad6da116f1eedc.tar.gz
gcc-ca790d0f1df13731995232c9f9ad6da116f1eedc.tar.bz2
* mips-tfile.c (fatal, error): Don't use prototypes ifndef HAVE_VPRINTF.
From-SVN: r6629
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r--gcc/mips-tfile.c6
1 files changed, 6 insertions, 0 deletions
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