aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2016-01-26 07:41:41 -0800
committerPaul Eggert2016-01-26 07:42:54 -0800
commitb4c7b510ae46a65fa6a13fa397209c0241386c1f (patch)
tree96c5a2908290b96283f7db81e3a8c96cb3a67191 /src
parentad879b7f7e049160c45361fe8a12580801ba035b (diff)
downloademacs-b4c7b510ae46a65fa6a13fa397209c0241386c1f.tar.gz
emacs-b4c7b510ae46a65fa6a13fa397209c0241386c1f.zip
Remove never-set var handle_user_signal_hook
* src/keyboard.c, src/keyboard.h (handle_user_signal_hook): Remove never-set var. All uses removed.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c5
-rw-r--r--src/keyboard.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 3cddd4119dd..20aa2dbd389 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7142,9 +7142,6 @@ struct user_signal_info
7142/* List of user signals. */ 7142/* List of user signals. */
7143static struct user_signal_info *user_signals = NULL; 7143static struct user_signal_info *user_signals = NULL;
7144 7144
7145/* Function called when handling user signals. */
7146void (*handle_user_signal_hook) (int);
7147
7148void 7145void
7149add_user_signal (int sig, const char *name) 7146add_user_signal (int sig, const char *name)
7150{ 7147{
@@ -7193,8 +7190,6 @@ handle_user_signal (int sig)
7193 } 7190 }
7194 7191
7195 p->npending++; 7192 p->npending++;
7196 if (handle_user_signal_hook)
7197 (*handle_user_signal_hook) (sig);
7198#ifdef USABLE_SIGIO 7193#ifdef USABLE_SIGIO
7199 if (interrupt_input) 7194 if (interrupt_input)
7200 handle_input_available_signal (sig); 7195 handle_input_available_signal (sig);
diff --git a/src/keyboard.h b/src/keyboard.h
index 55667bfb17c..7f95f11bc10 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -415,8 +415,6 @@ extern void unuse_menu_items (void);
415#define EVENT_HEAD_KIND(event_head) \ 415#define EVENT_HEAD_KIND(event_head) \
416 (Fget ((event_head), Qevent_kind)) 416 (Fget ((event_head), Qevent_kind))
417 417
418extern void (*handle_user_signal_hook) (int);
419
420/* True while doing kbd input. */ 418/* True while doing kbd input. */
421extern bool waiting_for_input; 419extern bool waiting_for_input;
422 420