aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-03-07 17:29:32 +0000
committerPedro Alves <palves@redhat.com>2013-03-07 17:29:32 +0000
commitf0cc8ad436c3d86783ceaa2febd2919ef5f996fa (patch)
treef7185e76d7714a528cb239589e8dffaa85e7ceca /gdb/remote.c
parente64f749990145b448f6bac4eac24748b476430e4 (diff)
downloadgdb-f0cc8ad436c3d86783ceaa2febd2919ef5f996fa.zip
gdb-f0cc8ad436c3d86783ceaa2febd2919ef5f996fa.tar.gz
gdb-f0cc8ad436c3d86783ceaa2febd2919ef5f996fa.tar.bz2
hex2bin, bin2hex: move declarations to header.
Move the declarations to a header, rather than declaring them in (multiple) .c files. gdb/ 2013-03-07 Pedro Alves <palves@redhat.com> * remote.c (hex2bin, bin2hex): Move extern declarations to ... * remote.h (hex2bin, bin2hex): ... here. * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 88a57c8..b69c8a8 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -183,10 +183,6 @@ static void record_currthread (ptid_t currthread);
static int fromhex (int a);
-extern int hex2bin (const char *hex, gdb_byte *bin, int count);
-
-extern int bin2hex (const gdb_byte *bin, char *hex, int count);
-
static int putpkt_binary (char *buf, int cnt);
static void check_binary_download (CORE_ADDR addr);