changeset 2210:9361a78f86a0

[xemacs-hg @ 2004-08-11 02:04:03 by james] Mark really_abort() as a function that does not return.
author james
date Wed, 11 Aug 2004 02:04:12 +0000
parents 2ebb02ade3dd
children 518f43ab0991
files src/ChangeLog src/emacs.c src/lisp.h
diffstat 3 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Aug 10 21:50:41 2004 +0000
+++ b/src/ChangeLog	Wed Aug 11 02:04:12 2004 +0000
@@ -1,3 +1,8 @@
+2004-08-10  Jerry James  <james@xemacs.org>
+
+	* emacs.c (really_abort): make its return type DOESNT_RETURN.
+	* lisp.h: declare really_abort with DECLARE_DOESNT_RETURN.
+
 2004-08-04  Jerry James  <james@xemacs.org>
 
 	* regex.c: Fix the previous patch by moving to the right place.
--- a/src/emacs.c	Tue Aug 10 21:50:41 2004 +0000
+++ b/src/emacs.c	Wed Aug 11 02:04:12 2004 +0000
@@ -4387,7 +4387,7 @@
 		the way at the end to make sure that all calls to abort()
 		anywhere in the above code go through assert_failed(). */
 
-void
+DOESNT_RETURN
 really_abort (void)
 {
   abort ();
--- a/src/lisp.h	Tue Aug 10 21:50:41 2004 +0000
+++ b/src/lisp.h	Wed Aug 11 02:04:12 2004 +0000
@@ -3739,7 +3739,7 @@
 extern int suppress_early_error_handler_backtrace;
 void debug_break (void);
 int debug_can_access_memory (void *ptr, Bytecount len);
-void really_abort (void);
+DECLARE_DOESNT_RETURN (really_abort (void));
 void zero_out_command_line_status_vars (void);
 
 /* Defined in emodules.c */