From f0cc8ad436c3d86783ceaa2febd2919ef5f996fa Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 7 Mar 2013 17:29:32 +0000 Subject: 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 * remote.c (hex2bin, bin2hex): Move extern declarations to ... * remote.h (hex2bin, bin2hex): ... here. * tracepoint.c (hex2bin, bin2hex): Remove extern declarations. --- gdb/remote.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/remote.c') 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); -- cgit v1.1