* 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 3bfa9e9..9c86090 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 58290ee..fe7b5f0 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);