comparison src/term.c @ 65795:4b20a22635a5

* lisp.h (fatal): Undo previous change. * term.c (fatal): Undo previous change.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 02 Oct 2005 18:35:05 +0000
parents 375ab086d366
children d3f5aa0f18c4
comparison
equal deleted inserted replaced
65794:3dea674724d0 65795:4b20a22635a5
23 23
24 #include <config.h> 24 #include <config.h>
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"
32 #include "lisp.h" 31 #include "lisp.h"
33 #include "charset.h" 32 #include "charset.h"
2688 xfree (buffer); 2687 xfree (buffer);
2689 } 2688 }
2690 2689
2691 /* VARARGS 1 */ 2690 /* VARARGS 1 */
2692 void 2691 void
2693 fatal (const char *str, ...) 2692 fatal (str, arg1, arg2)
2694 { 2693 char *str, *arg1, *arg2;
2695 va_list ap; 2694 {
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 }
2703 2701
2704 DEFUN ("tty-no-underline", Ftty_no_underline, Stty_no_underline, 0, 0, 0, 2702 DEFUN ("tty-no-underline", Ftty_no_underline, Stty_no_underline, 0, 0, 0,