]> code.delx.au - gnu-emacs/commitdiff
* ebrowse.c (usage, version): Mark as NO_RETURN.
authorDan Nicolaescu <dann@ics.uci.edu>
Tue, 18 Jul 2006 16:33:45 +0000 (16:33 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Tue, 18 Jul 2006 16:33:45 +0000 (16:33 +0000)
* 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.

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

index e792753b7488d830257535022ffdebcf4446f9f7..94687670725823f5b21a2950241230ed89145699 100644 (file)
@@ -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\e,Al\e(B  <pot@gnu.org>
 
        * etags.c (absolute_filename): Free unused space (cosmetic change).
index 398dd10896e56ef25f7f2719e616c3744d6f301e..1880f1655eef68750104dfb2a5c2e03e3d6b478c 100644 (file)
@@ -533,6 +533,8 @@ struct sym *parse_qualified_ident_or_type P_ ((char **));
 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;
 
 
 \f
index 46cb7ec2aea6b34fc69151464e056e033b932e18..b0bf50c2c780e8ac21f3be48baa221f3817ac262 100644 (file)
@@ -67,7 +67,7 @@ const char * alternate_editor = NULL;
 /* 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[] =
 {
index 67d26d13f99aec6019e93caf6ed36719bf428178..41b3f92a4c82f9f6fa112ada174c2c9234bef9f0 100644 (file)
@@ -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.
index 60aa3e7aaedf3ffc5a65f2338ac3e9ed42792c06..efe0252453a965158e02c512794f8b6ff8ff884f 100644 (file)
@@ -833,7 +833,7 @@ extern void set_buffer_internal P_ ((struct buffer *));
 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));
 
index 37c245234fc9c1e18789810869a52c581b1bffa2..0d7a6a310383de3b20f56a049952df2ab6fd51a5 100644 (file)
@@ -198,6 +198,7 @@ Lisp_Object Vmacro_declaration_function;
 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;
 \f
 void
 init_eval_once ()
index 8d9e2b7cfa4666b053d94911a24fdf306c1282be..d1ce953cd684b130b30638663fb28164a7863a89 100644 (file)
@@ -2174,7 +2174,7 @@ extern Lisp_Object Qnumberp, Qnumber_or_marker_p;
 
 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 allocate_string_data P_ ((struct Lisp_String *, int, int));
 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;
index c407b5947d9f2853046fae2f232be2364bdcb666..88a70f691c345474eb1636a9c2c1d47b1fdb4014 100644 (file)
@@ -215,6 +215,7 @@ static Lisp_Object load_unwind P_ ((Lisp_Object));
 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;
 
 \f
 /* Handle unreading and rereading of characters.
index b89d73a7ef927403f682cfde08c56b826af197b0..fd70f039d226504ff065b899432480570104660a 100644 (file)
@@ -78,6 +78,8 @@ Lisp_Object Vtext_property_default_nonsticky;
 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.  */
index 0b16a37a62c3634c32f5a6279e70a6a1d0bcd383..5e4eeb3bb641bcc00fe5356f6a11f7a16534dc71 100644 (file)
@@ -358,7 +358,7 @@ static void x_check_expected_move P_ ((struct frame *, int, int));
 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 @@ x_connection_closed (dpy, error_message)
 
 /* 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.  */