]> git.eshelyaron.com Git - emacs.git/commitdiff
* syssignal.h (handle_on_main_thread): Always declare,
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 7 Sep 2012 06:47:30 +0000 (23:47 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 7 Sep 2012 06:47:30 +0000 (23:47 -0700)
even if FORWARD_SIGNAL_TO_MAIN_THREAD is not defined.
This ports to platforms without HAVE_PTHREAD.

src/ChangeLog
src/syssignal.h

index 3bfa9e929d5309a960c5de1cd3c8dab68e34a889..9c86090adbfd9424b7bebabc5d7316196e1657e1 100644 (file)
@@ -1,3 +1,9 @@
+2012-09-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * syssignal.h (handle_on_main_thread): Always declare,
+       even if FORWARD_SIGNAL_TO_MAIN_THREAD is not defined.
+       This ports to platforms without HAVE_PTHREAD.
+
 2012-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 
        Signal-handler cleanup (Bug#12327).
index 58290ee3fc70707d8c15169d72127d299894ad2c..fe7b5f0e15084cb63f70df2ee332ef67a076adbf 100644 (file)
@@ -84,5 +84,6 @@ char *strsignal (int);
 
 #ifdef FORWARD_SIGNAL_TO_MAIN_THREAD
 extern pthread_t main_thread;
-void handle_on_main_thread (int, signal_handler_t);
 #endif
+
+void handle_on_main_thread (int, signal_handler_t);