* event-top.c (sigint_token, sighup_token): Replace 'void *'
	with 'static struct async_signal_handler *'.
	(sighup_token, sigquit_token, sigstp_token): Likewise.
This commit is contained in:
Yao Qi 2012-10-23 06:12:04 +00:00
parent e92e81f4b8
commit 05fa925168
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2012-10-23 Yao Qi <yao@codesourcery.com>
* event-top.c (sigint_token, sighup_token): Replace 'void *'
with 'static struct async_signal_handler *'.
(sighup_token, sigquit_token, sigstp_token): Likewise.
2012-10-22 Ali Anwar <ali_anwar@codesourcery.com>
* gdbarch.sh (function_list): Use 'pstring' when printing

View File

@ -123,16 +123,16 @@ int input_fd;
handlers mark these functions as ready to be executed and the event
loop, in a later iteration, calls them. See the function
invoke_async_signal_handler. */
void *sigint_token;
static struct async_signal_handler *sigint_token;
#ifdef SIGHUP
void *sighup_token;
static struct async_signal_handler *sighup_token;
#endif
#ifdef SIGQUIT
void *sigquit_token;
static struct async_signal_handler *sigquit_token;
#endif
void *sigfpe_token;
static struct async_signal_handler *sigfpe_token;
#ifdef STOP_SIGNAL
void *sigtstp_token;
static struct async_signal_handler *sigtstp_token;
#endif
/* Structure to save a partially entered command. This is used when