mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
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.
This commit is contained in:
parent
ad879b7f7e
commit
b4c7b510ae
@ -7142,9 +7142,6 @@ struct user_signal_info
|
||||
/* List of user signals. */
|
||||
static struct user_signal_info *user_signals = NULL;
|
||||
|
||||
/* Function called when handling user signals. */
|
||||
void (*handle_user_signal_hook) (int);
|
||||
|
||||
void
|
||||
add_user_signal (int sig, const char *name)
|
||||
{
|
||||
@ -7193,8 +7190,6 @@ handle_user_signal (int sig)
|
||||
}
|
||||
|
||||
p->npending++;
|
||||
if (handle_user_signal_hook)
|
||||
(*handle_user_signal_hook) (sig);
|
||||
#ifdef USABLE_SIGIO
|
||||
if (interrupt_input)
|
||||
handle_input_available_signal (sig);
|
||||
|
@ -415,8 +415,6 @@ extern void unuse_menu_items (void);
|
||||
#define EVENT_HEAD_KIND(event_head) \
|
||||
(Fget ((event_head), Qevent_kind))
|
||||
|
||||
extern void (*handle_user_signal_hook) (int);
|
||||
|
||||
/* True while doing kbd input. */
|
||||
extern bool waiting_for_input;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user