diff options
author | Yao Qi <yao@codesourcery.com> | 2012-10-23 06:12:04 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-10-23 06:12:04 +0000 |
commit | 05fa925168007d8996d78cf832c06bf65f70c8d9 (patch) | |
tree | 1d1e7b99f708d8bbd868643b522d1e201161f1e5 /gdb/event-top.c | |
parent | e92e81f4b8449a41b2ea157d1e4ede36b8ee4352 (diff) | |
download | gdb-05fa925168007d8996d78cf832c06bf65f70c8d9.zip gdb-05fa925168007d8996d78cf832c06bf65f70c8d9.tar.gz gdb-05fa925168007d8996d78cf832c06bf65f70c8d9.tar.bz2 |
gdb/
* event-top.c (sigint_token, sighup_token): Replace 'void *'
with 'static struct async_signal_handler *'.
(sighup_token, sigquit_token, sigstp_token): Likewise.
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index 4f3363c..1e0626a 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -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 |