aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1994-02-13 07:34:55 +0000
committerDoug Evans <dje@gnu.org>1994-02-13 07:34:55 +0000
commitfd2c2b2b62774451055a695122ce717327906658 (patch)
tree3ce5d2915fd92a5fb3f222ded34ae1df2713bc4c /gcc
parentb9a295c0fc081068a042cddf3d10acbf1906bc82 (diff)
downloadgcc-fd2c2b2b62774451055a695122ce717327906658.zip
gcc-fd2c2b2b62774451055a695122ce717327906658.tar.gz
gcc-fd2c2b2b62774451055a695122ce717327906658.tar.bz2
(fatal, error): Fix declarations (make dependant on HAVE_VPRINTF).
From-SVN: r6545
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 208dd04..1ab4916 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 ();