]> git.eshelyaron.com Git - emacs.git/commitdiff
* data.c (arith_error): Mark with NO_RETURN if it doesn't return.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2011 21:48:36 +0000 (14:48 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2011 21:48:36 +0000 (14:48 -0700)
src/ChangeLog
src/data.c

index f4a15df66ba06a82cd41637b44b9e5c26436dd0e..5d6eb0a435bfe1b2362ce3f21d0056a125c79094 100644 (file)
@@ -1,5 +1,7 @@
 2011-04-16  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * data.c (arith_error): Mark with NO_RETURN if it doesn't return.
+
        * alloc.c (bytes_used_when_full, SPARE_MEMORY, BYTES_USED):
        Define only if needed.
 
index 956ff3700f2bdb725e4004eea31f87fed120422d..c9250a67bf0b89d982be32744af2ecaa4defb1ac 100644 (file)
@@ -3305,6 +3305,10 @@ syms_of_data (void)
   XSYMBOL (intern_c_string ("most-negative-fixnum"))->constant = 1;
 }
 
+#ifndef FORWARD_SIGNAL_TO_MAIN_THREAD
+static void arith_error (int) NO_RETURN;
+#endif
+
 static void
 arith_error (int signo)
 {