diff options
| author | Dan Nicolaescu | 2005-10-02 18:35:05 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2005-10-02 18:35:05 +0000 |
| commit | eb27c2ca1fd09543160e06cc8543f0f3eba83e1e (patch) | |
| tree | dbf34163c252bfbbefd975a3973705bb737adc76 /src/term.c | |
| parent | cde3239fdbfa6bfe448f4ce33c66d2026d1af3c6 (diff) | |
| download | emacs-eb27c2ca1fd09543160e06cc8543f0f3eba83e1e.tar.gz emacs-eb27c2ca1fd09543160e06cc8543f0f3eba83e1e.zip | |
* lisp.h (fatal): Undo previous change.
* term.c (fatal): Undo previous change.
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 10 |
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. */ | |||
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | #include <ctype.h> | 26 | #include <ctype.h> |
| 27 | #include <string.h> | 27 | #include <string.h> |
| 28 | #include <stdarg.h> | ||
| 29 | 28 | ||
| 30 | #include "termchar.h" | 29 | #include "termchar.h" |
| 31 | #include "termopts.h" | 30 | #include "termopts.h" |
| @@ -2690,13 +2689,12 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.", | |||
| 2690 | 2689 | ||
| 2691 | /* VARARGS 1 */ | 2690 | /* VARARGS 1 */ |
| 2692 | void | 2691 | void |
| 2693 | fatal (const char *str, ...) | 2692 | fatal (str, arg1, arg2) |
| 2693 | char *str, *arg1, *arg2; | ||
| 2694 | { | 2694 | { |
| 2695 | va_list ap; | ||
| 2696 | va_start (ap, str); | ||
| 2697 | fprintf (stderr, "emacs: "); | 2695 | fprintf (stderr, "emacs: "); |
| 2698 | vfprintf (stderr, str, ap); | 2696 | fprintf (stderr, str, arg1, arg2); |
| 2699 | va_end (ap); | 2697 | fprintf (stderr, "\n"); |
| 2700 | fflush (stderr); | 2698 | fflush (stderr); |
| 2701 | exit (1); | 2699 | exit (1); |
| 2702 | } | 2700 | } |