summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2005-10-02 18:35:05 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2005-10-02 18:35:05 +0000
commitf999fc5be6fa4bb16cea48ab47548ae3ef376430 (patch)
tree9d3e874d79c57539cced70c0948c125a0184cca7 /src/term.c
parent548d2ef5ab8dfc5dd0f0f6f61d9081f287b81c22 (diff)
downloademacs-f999fc5be6fa4bb16cea48ab47548ae3ef376430.tar.gz
* lisp.h (fatal): Undo previous change.
* term.c (fatal): Undo previous change.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/term.c b/src/term.c
index 21333826b3c..2b4ea7e23a4 100644
--- a/src/term.c
+++ b/src/term.c
@@ -25,7 +25,6 @@ Boston, MA 02110-1301, USA. */
#include <stdio.h>
#include <ctype.h>
#include <string.h>
-#include <stdarg.h>
#include "termchar.h"
#include "termopts.h"
@@ -2690,13 +2689,12 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.",
/* VARARGS 1 */
void
-fatal (const char *str, ...)
+fatal (str, arg1, arg2)
+ char *str, *arg1, *arg2;
{
- va_list ap;
- va_start (ap, str);
fprintf (stderr, "emacs: ");
- vfprintf (stderr, str, ap);
- va_end (ap);
+ fprintf (stderr, str, arg1, arg2);
+ fprintf (stderr, "\n");
fflush (stderr);
exit (1);
}