This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Code cleanup: remote.c function ->static
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 30 Jun 2013 19:15:47 +0200
- Subject: [obv] Code cleanup: remote.c function ->static
Hi,
checked in as obvious.
Jan
http://sourceware.org/ml/gdb-cvs/2013-06/msg00208.html
--- src/gdb/ChangeLog 2013/06/30 00:35:38 1.15764
+++ src/gdb/ChangeLog 2013/06/30 17:14:59 1.15765
@@ -1,3 +1,9 @@
+2013-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ 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 <sergiodj@redhat.com>
* ia64-linux-tdep.c: Include <ctype.h>.
--- src/gdb/remote.c 2013/06/26 08:17:26 1.557
+++ src/gdb/remote.c 2013/06/30 17:14:59 1.558
@@ -97,7 +97,7 @@
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 @@
/* 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)
--- src/gdb/remote.h 2013/03/07 17:29:32 1.28
+++ src/gdb/remote.h 2013/06/30 17:14:59 1.29
@@ -45,8 +45,6 @@
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 *);