changeset 72005:da0099bc0ba4

* ebrowse.c (usage, version): Mark as NO_RETURN. * emacsclient.c (print_help_and_exit): Likewise. * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN. * textprop.c (text_read_only): Likewise. * lread.c (end_of_file_error): Likewise. * lisp.h (circular_list_error, memory_full, buffer_memory_full): Likewise. * eval.c (unwind_to_catch): Likewise. * buffer.h (buffer_slot_type_mismatch): Likewise.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 18 Jul 2006 16:33:45 +0000
parents 5199d84d3631
children f483b68fd89b
files lib-src/ChangeLog lib-src/ebrowse.c lib-src/emacsclient.c src/ChangeLog src/buffer.h src/eval.c src/lisp.h src/lread.c src/textprop.c src/xterm.c
diffstat 10 files changed, 34 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog	Tue Jul 18 15:04:49 2006 +0000
+++ b/lib-src/ChangeLog	Tue Jul 18 16:33:45 2006 +0000
@@ -1,3 +1,9 @@
+2006-07-18  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* ebrowse.c (usage, version): Mark as NO_RETURN.
+
+	* emacsclient.c (print_help_and_exit): Likewise.
+
 2006-07-10  Francesco Potort,Al(B  <pot@gnu.org>
 
 	* etags.c (absolute_filename): Free unused space (cosmetic change).
--- a/lib-src/ebrowse.c	Tue Jul 18 15:04:49 2006 +0000
+++ b/lib-src/ebrowse.c	Tue Jul 18 16:33:45 2006 +0000
@@ -533,6 +533,8 @@
 void parse_qualified_param_ident_or_type P_ ((char **));
 int globals P_ ((int));
 void yyerror P_ ((char *, char *));
+void usage P_ ((int)) NO_RETURN;
+void version P_ (()) NO_RETURN;
 
 
 
--- a/lib-src/emacsclient.c	Tue Jul 18 15:04:49 2006 +0000
+++ b/lib-src/emacsclient.c	Tue Jul 18 16:33:45 2006 +0000
@@ -67,7 +67,7 @@
 /* If non-NULL, the filename of the UNIX socket.  */
 char *socket_name = NULL;
 
-void print_help_and_exit ();
+void print_help_and_exit () NO_RETURN;
 
 struct option longopts[] =
 {
--- a/src/ChangeLog	Tue Jul 18 15:04:49 2006 +0000
+++ b/src/ChangeLog	Tue Jul 18 16:33:45 2006 +0000
@@ -1,3 +1,18 @@
+2006-07-18  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
+
+	* textprop.c (text_read_only): Likewise.
+
+	* lread.c (end_of_file_error): Likewise.
+
+	* lisp.h (circular_list_error, memory_full, buffer_memory_full):
+	Likewise.
+
+	* eval.c (unwind_to_catch): Likewise.
+
+	* buffer.h (buffer_slot_type_mismatch): Likewise.
+
 2006-07-18  Kim F. Storm  <storm@cua.dk>
 
 	Cleanup Fsignal calls that never returns; now only use it for Qquit.
--- a/src/buffer.h	Tue Jul 18 15:04:49 2006 +0000
+++ b/src/buffer.h	Tue Jul 18 16:33:45 2006 +0000
@@ -833,7 +833,7 @@
 extern void set_buffer_internal_1 P_ ((struct buffer *));
 extern void set_buffer_temp P_ ((struct buffer *));
 extern void record_buffer P_ ((Lisp_Object));
-extern void buffer_slot_type_mismatch P_ ((int));
+extern void buffer_slot_type_mismatch P_ ((int)) NO_RETURN;
 extern void fix_overlays_before P_ ((struct buffer *, EMACS_INT, EMACS_INT));
 extern void mmap_set_vars P_ ((int));
 
--- a/src/eval.c	Tue Jul 18 15:04:49 2006 +0000
+++ b/src/eval.c	Tue Jul 18 16:33:45 2006 +0000
@@ -198,6 +198,7 @@
 extern Lisp_Object Qrisky_local_variable;
 
 static Lisp_Object funcall_lambda P_ ((Lisp_Object, int, Lisp_Object*));
+static void unwind_to_catch P_ ((struct catchtag *, Lisp_Object)) NO_RETURN;
 
 void
 init_eval_once ()
--- a/src/lisp.h	Tue Jul 18 15:04:49 2006 +0000
+++ b/src/lisp.h	Tue Jul 18 16:33:45 2006 +0000
@@ -2174,7 +2174,7 @@
 
 extern Lisp_Object Qinteger;
 
-extern void circular_list_error P_ ((Lisp_Object));
+extern void circular_list_error P_ ((Lisp_Object)) NO_RETURN;
 EXFUN (Finteractive_form, 1);
 
 /* Defined in frame.c */
@@ -2549,8 +2549,8 @@
 extern void reset_malloc_hooks P_ ((void));
 extern void uninterrupt_malloc P_ ((void));
 extern void malloc_warning P_ ((char *));
-extern void memory_full P_ ((void));
-extern void buffer_memory_full P_ ((void));
+extern void memory_full P_ ((void)) NO_RETURN;
+extern void buffer_memory_full P_ ((void)) NO_RETURN;
 extern int survives_gc_p P_ ((Lisp_Object));
 extern void mark_object P_ ((Lisp_Object));
 extern Lisp_Object Vpurify_flag;
--- a/src/lread.c	Tue Jul 18 15:04:49 2006 +0000
+++ b/src/lread.c	Tue Jul 18 16:33:45 2006 +0000
@@ -215,6 +215,7 @@
 static Lisp_Object load_descriptor_unwind P_ ((Lisp_Object));
 
 static void invalid_syntax P_ ((const char *, int)) NO_RETURN;
+static void end_of_file_error P_ (()) NO_RETURN;
 
 
 /* Handle unreading and rereading of characters.
--- a/src/textprop.c	Tue Jul 18 15:04:49 2006 +0000
+++ b/src/textprop.c	Tue Jul 18 16:33:45 2006 +0000
@@ -78,6 +78,8 @@
 Lisp_Object interval_insert_behind_hooks;
 Lisp_Object interval_insert_in_front_hooks;
 
+static void text_read_only P_ ((Lisp_Object)) NO_RETURN;
+
 
 /* Signal a `text-read-only' error.  This function makes it easier
    to capture that error in GDB by putting a breakpoint on it.  */
--- a/src/xterm.c	Tue Jul 18 15:04:49 2006 +0000
+++ b/src/xterm.c	Tue Jul 18 16:33:45 2006 +0000
@@ -358,7 +358,7 @@
 static void x_sync_with_move P_ ((struct frame *, int, int, int));
 static int handle_one_xevent P_ ((struct x_display_info *, XEvent *,
 				  int *, struct input_event *));
-static SIGTYPE x_connection_closed P_ ((Display *, char *));
+static SIGTYPE x_connection_closed P_ ((Display *, char *)) NO_RETURN;
 
 
 /* Flush display of frame F, or of all frames if F is null.  */
@@ -7771,7 +7771,7 @@
 
 /* We specifically use it before defining it, so that gcc doesn't inline it,
    otherwise gdb doesn't know how to properly put a breakpoint on it.  */
-static void x_error_quitter (Display *display, XErrorEvent *error);
+static void x_error_quitter P_ ((Display *, XErrorEvent *)) NO_RETURN;
 
 /* This is the first-level handler for X protocol errors.
    It calls x_error_quitter or x_error_catcher.  */