aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sysdep.c2
-rw-r--r--src/syssignal.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index e223a67787d..9522aa4b04b 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1671,7 +1671,7 @@ emacs_sigaction_init (struct sigaction *action, signal_handler_t handler)
1671} 1671}
1672 1672
1673#ifdef FORWARD_SIGNAL_TO_MAIN_THREAD 1673#ifdef FORWARD_SIGNAL_TO_MAIN_THREAD
1674pthread_t main_thread_id; 1674static pthread_t main_thread_id;
1675#endif 1675#endif
1676 1676
1677/* SIG has arrived at the current process. Deliver it to the main 1677/* SIG has arrived at the current process. Deliver it to the main
diff --git a/src/syssignal.h b/src/syssignal.h
index 61e1c5f60e8..b43a2562e3d 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -32,7 +32,6 @@ extern void unblock_tty_out_signal (sigset_t const *);
32 32
33#ifdef HAVE_PTHREAD 33#ifdef HAVE_PTHREAD
34#include <pthread.h> 34#include <pthread.h>
35extern pthread_t main_thread_id;
36/* If defined, asynchronous signals delivered to a non-main thread are 35/* If defined, asynchronous signals delivered to a non-main thread are
37 forwarded to the main thread. */ 36 forwarded to the main thread. */
38#define FORWARD_SIGNAL_TO_MAIN_THREAD 37#define FORWARD_SIGNAL_TO_MAIN_THREAD