gdb/
authorYao Qi <yao@codesourcery.com>
Tue, 23 Oct 2012 06:12:04 +0000 (06:12 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 23 Oct 2012 06:12:04 +0000 (06:12 +0000)
* event-top.c (sigint_token, sighup_token): Replace 'void *'
with 'static struct async_signal_handler *'.
(sighup_token, sigquit_token, sigstp_token): Likewise.

gdb/ChangeLog
gdb/event-top.c

index b77946cdda54b0b657718f5d67efcddb0d876ac7..308fa218fc769e9b20a99f33a107a5f03cdaa7d1 100644 (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
index 4f3363c63ed40ed99713a9615c3246f4d8ea0ab8..1e0626a48e823bc131d459595cee2c59775dc05c 100644 (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
This page took 0.037828 seconds and 4 git commands to generate.