# HG changeset patch # User james # Date 1092189852 0 # Node ID 9361a78f86a03606ec0be80d47f834a7dcba6b1d # Parent 2ebb02ade3dddb4da2939d5fb3a58b8d6013f438 [xemacs-hg @ 2004-08-11 02:04:03 by james] Mark really_abort() as a function that does not return. diff -r 2ebb02ade3dd -r 9361a78f86a0 src/ChangeLog --- 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 + + * emacs.c (really_abort): make its return type DOESNT_RETURN. + * lisp.h: declare really_abort with DECLARE_DOESNT_RETURN. + 2004-08-04 Jerry James * regex.c: Fix the previous patch by moving to the right place. diff -r 2ebb02ade3dd -r 9361a78f86a0 src/emacs.c --- 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 (); diff -r 2ebb02ade3dd -r 9361a78f86a0 src/lisp.h --- 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 */