summaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index deb7df67048..bc7e64262cd 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -1016,8 +1016,7 @@ async_do_nothing (gdb_client_data arg)
/* Tell the event loop what to do if SIGHUP is received.
See event-signal.c. */
static void
-handle_sighup (sig)
- int sig;
+handle_sighup (int sig)
{
mark_async_signal_handler_wrapper (sighup_token);
signal (sig, handle_sighup);