changeset 71063:7510757f449b

* search.c (matcher_overflow): Mark as NO_RETURN. * xterm.c (x_connection_closed): Likewise. * sysdep.c (croak): Likewise. * sound.c (sound_perror, alsa_sound_perror): Likewise. * lisp.h (die, nsberror): Likewise.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 29 May 2006 08:06:15 +0000
parents 47e6374861d1
children 30ac4bc8f8f7
files src/ChangeLog src/lisp.h src/search.c src/sound.c src/sysdep.c src/xterm.c
diffstat 6 files changed, 19 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon May 29 07:25:01 2006 +0000
+++ b/src/ChangeLog	Mon May 29 08:06:15 2006 +0000
@@ -1,3 +1,15 @@
+2006-05-29  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* search.c (matcher_overflow): Mark as NO_RETURN.
+
+	* xterm.c (x_connection_closed): Likewise.
+
+	* sysdep.c (croak): Likewise.
+
+	* sound.c (sound_perror, alsa_sound_perror): Likewise.
+
+	* lisp.h (die, nsberror): Likewise.
+
 2006-05-29  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
 	* sound.c (alsa_open, alsa_configure, alsa_write): Move
--- a/src/lisp.h	Mon May 29 07:25:01 2006 +0000
+++ b/src/lisp.h	Mon May 29 08:06:15 2006 +0000
@@ -80,7 +80,7 @@
 
 /* Extra internal type checking?  */
 extern int suppress_checking;
-extern void die P_((const char *, const char *, int));
+extern void die P_((const char *, const char *, int)) NO_RETURN;
 
 #ifdef ENABLE_CHECKING
 
@@ -2780,7 +2780,7 @@
 
 /* defined in buffer.c */
 extern int mouse_face_overlay_overlaps P_ ((Lisp_Object));
-extern void nsberror P_ ((Lisp_Object));
+extern void nsberror P_ ((Lisp_Object)) NO_RETURN;
 extern char *no_switch_window P_ ((Lisp_Object window));
 EXFUN (Fset_buffer_multibyte, 1);
 EXFUN (Foverlay_start, 1);
--- a/src/search.c	Mon May 29 07:25:01 2006 +0000
+++ b/src/search.c	Mon May 29 08:06:15 2006 +0000
@@ -90,6 +90,7 @@
 static int simple_search ();
 static int boyer_moore ();
 static int search_buffer ();
+static void matcher_overflow () NO_RETURN;
 
 static void
 matcher_overflow ()
--- a/src/sound.c	Mon May 29 07:25:01 2006 +0000
+++ b/src/sound.c	Mon May 29 08:06:15 2006 +0000
@@ -113,7 +113,8 @@
   SOUND_ATTR_SENTINEL
 };
 
-static void sound_perror P_ ((char *));
+static void alsa_sound_perror P_ ((char *, int)) NO_RETURN;
+static void sound_perror P_ ((char *)) NO_RETURN;
 static void sound_warning P_ ((char *));
 static int parse_sound P_ ((Lisp_Object, Lisp_Object *));
 
--- a/src/sysdep.c	Mon May 29 07:25:01 2006 +0000
+++ b/src/sysdep.c	Mon May 29 08:06:15 2006 +0000
@@ -244,7 +244,7 @@
    under VMS, we place the input channel number here.  */
 int input_fd;
 
-void croak P_ ((char *));
+void croak P_ ((char *)) NO_RETURN;
 
 #ifdef AIXHFT
 void hft_init ();
--- a/src/xterm.c	Mon May 29 07:25:01 2006 +0000
+++ b/src/xterm.c	Mon May 29 08:06:15 2006 +0000
@@ -357,6 +357,7 @@
 static void x_check_expected_move P_ ((struct frame *));
 static int handle_one_xevent P_ ((struct x_display_info *, XEvent *,
 				  int *, struct input_event *));
+static SIGTYPE x_connection_closed P_ ((Display *, char *));
 
 
 /* Flush display of frame F, or of all frames if F is null.  */