diff options
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/syssignal.h | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3bfa9e929d5..9c86090adbf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-09-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * syssignal.h (handle_on_main_thread): Always declare, | ||
| 4 | even if FORWARD_SIGNAL_TO_MAIN_THREAD is not defined. | ||
| 5 | This ports to platforms without HAVE_PTHREAD. | ||
| 6 | |||
| 1 | 2012-09-06 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2012-09-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | Signal-handler cleanup (Bug#12327). | 9 | Signal-handler cleanup (Bug#12327). |
diff --git a/src/syssignal.h b/src/syssignal.h index 58290ee3fc7..fe7b5f0e150 100644 --- a/src/syssignal.h +++ b/src/syssignal.h | |||
| @@ -84,5 +84,6 @@ char *strsignal (int); | |||
| 84 | 84 | ||
| 85 | #ifdef FORWARD_SIGNAL_TO_MAIN_THREAD | 85 | #ifdef FORWARD_SIGNAL_TO_MAIN_THREAD |
| 86 | extern pthread_t main_thread; | 86 | extern pthread_t main_thread; |
| 87 | void handle_on_main_thread (int, signal_handler_t); | ||
| 88 | #endif | 87 | #endif |
| 88 | |||
| 89 | void handle_on_main_thread (int, signal_handler_t); | ||