aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-06-30 17:14:59 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-06-30 17:14:59 +0000
commit47e1ce27f4c242d3312b84658a4d0cc8829224f9 (patch)
tree2b43c9f20ae0a0472a553ae6f3e1179caeed5001 /gdb/remote.c
parente82839d425857fb5c30ec01faab12263baddfd99 (diff)
downloadgdb-47e1ce27f4c242d3312b84658a4d0cc8829224f9.zip
gdb-47e1ce27f4c242d3312b84658a4d0cc8829224f9.tar.gz
gdb-47e1ce27f4c242d3312b84658a4d0cc8829224f9.tar.bz2
gdb/
Code cleanup. * remote.c (async_remote_interrupt_twice): Make it static. * remote.h (async_remote_interrupt_twice): Remove the declaration.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index a29fe23..1d6ac90 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -97,7 +97,7 @@ static int getpkt_or_notif_sane (char **buf, long *sizeof_buf,
static void handle_remote_sigint (int);
static void handle_remote_sigint_twice (int);
static void async_remote_interrupt (gdb_client_data);
-void async_remote_interrupt_twice (gdb_client_data);
+static void async_remote_interrupt_twice (gdb_client_data);
static void remote_files_info (struct target_ops *ignore);
@@ -5022,7 +5022,7 @@ async_remote_interrupt (gdb_client_data arg)
/* Perform interrupt, if the first attempt did not succeed. Just give
up on the target alltogether. */
-void
+static void
async_remote_interrupt_twice (gdb_client_data arg)
{
if (remote_debug)