diff src/lisp.h @ 109375:3e07e13fe30a

Convert maybe_fatal to standard C. * src/lisp.h (verror): Declare. * src/eval.c (verror): New function containing the code from ... (error): ... this. Call verror. * src/term.c (vfatal): New function containing the code from ... (fatal): ... this. Call vfatal. (maybe_fatal): Convert to standard C, use variable number of arguments. Declare as non-return. (init_tty): Fix maybe_fatal call.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 12 Jul 2010 21:47:45 -0700
parents a0d2db31314d
children 94ad8639f676
line wrap: on
line diff
--- a/src/lisp.h	Mon Jul 12 12:56:46 2010 -0700
+++ b/src/lisp.h	Mon Jul 12 21:47:45 2010 -0700
@@ -2908,6 +2908,7 @@
 extern void record_unwind_protect (Lisp_Object (*) (Lisp_Object), Lisp_Object);
 extern Lisp_Object unbind_to (int, Lisp_Object);
 extern void error (const char *, ...) NO_RETURN;
+extern void verror (const char *, va_list) NO_RETURN;
 extern void do_autoload (Lisp_Object, Lisp_Object);
 extern Lisp_Object un_autoload (Lisp_Object);
 EXFUN (Ffetch_bytecode, 1);