From: Jan Kratochvil Date: Sun, 30 Jun 2013 17:14:59 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47e1ce27f4c242d3312b84658a4d0cc8829224f9;p=binutils-gdb.git gdb/ Code cleanup. * remote.c (async_remote_interrupt_twice): Make it static. * remote.h (async_remote_interrupt_twice): Remove the declaration. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fa1da5adcdf..72a6258a63d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2013-06-30 Jan Kratochvil + + Code cleanup. + * remote.c (async_remote_interrupt_twice): Make it static. + * remote.h (async_remote_interrupt_twice): Remove the declaration. + 2013-06-29 Sergio Durigan Junior * ia64-linux-tdep.c: Include . diff --git a/gdb/remote.c b/gdb/remote.c index a29fe231df3..1d6ac908e00 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) diff --git a/gdb/remote.h b/gdb/remote.h index b95370c21f5..c036db71bb8 100644 --- a/gdb/remote.h +++ b/gdb/remote.h @@ -45,8 +45,6 @@ extern int bin2hex (const gdb_byte *bin, char *hex, int count); extern char *unpack_varlen_hex (char *buff, ULONGEST *result); -extern void async_remote_interrupt_twice (void *arg); - void register_remote_g_packet_guess (struct gdbarch *gdbarch, int bytes, const struct target_desc *tdesc); void register_remote_support_xml (const char *);