aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2005-10-02 18:35:05 +0000
committerDan Nicolaescu2005-10-02 18:35:05 +0000
commiteb27c2ca1fd09543160e06cc8543f0f3eba83e1e (patch)
treedbf34163c252bfbbefd975a3973705bb737adc76 /src
parentcde3239fdbfa6bfe448f4ce33c66d2026d1af3c6 (diff)
downloademacs-eb27c2ca1fd09543160e06cc8543f0f3eba83e1e.tar.gz
emacs-eb27c2ca1fd09543160e06cc8543f0f3eba83e1e.zip
* lisp.h (fatal): Undo previous change.
* term.c (fatal): Undo previous change.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/lisp.h2
-rw-r--r--src/term.c10
3 files changed, 10 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f4a999ed70f..351dbcf1e39 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12005-10-02 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * lisp.h (fatal): Undo previous change.
4 * term.c (fatal): Undo previous change.
5
12005-10-01 Richard M. Stallman <rms@gnu.org> 62005-10-01 Richard M. Stallman <rms@gnu.org>
2 7
3 * xfaces.c (face_color_gray_p): Colors close to black count as gray. 8 * xfaces.c (face_color_gray_p): Colors close to black count as gray.
diff --git a/src/lisp.h b/src/lisp.h
index 57372cfd64f..3ca63554840 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -3158,7 +3158,7 @@ extern void syms_of_dired P_ ((void));
3158 3158
3159/* Defined in term.c */ 3159/* Defined in term.c */
3160extern void syms_of_term P_ ((void)); 3160extern void syms_of_term P_ ((void));
3161extern void fatal P_ ((const char *msgid, ...)) NO_RETURN; 3161extern void fatal () NO_RETURN;
3162 3162
3163#ifdef HAVE_X_WINDOWS 3163#ifdef HAVE_X_WINDOWS
3164/* Defined in fontset.c */ 3164/* Defined in fontset.c */
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 */
2692void 2691void
2693fatal (const char *str, ...) 2692fatal (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}