Commit eb27c2ca authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

* lisp.h (fatal): Undo previous change.

* term.c (fatal): Undo previous change.
parent cde3239f
2005-10-02 Dan Nicolaescu <dann@ics.uci.edu>
* lisp.h (fatal): Undo previous change.
* term.c (fatal): Undo previous change.
2005-10-01 Richard M. Stallman <rms@gnu.org>
 
* xfaces.c (face_color_gray_p): Colors close to black count as gray.
......
......@@ -3158,7 +3158,7 @@ extern void syms_of_dired P_ ((void));
/* Defined in term.c */
extern void syms_of_term P_ ((void));
extern void fatal P_ ((const char *msgid, ...)) NO_RETURN;
extern void fatal () NO_RETURN;
#ifdef HAVE_X_WINDOWS
/* Defined in fontset.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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment