+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.
+
2013-03-07 Eli Zaretskii <eliz@gnu.org>
* utils.c (initialize_utils): Improve doc strings of "set/show
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);
extern int putpkt (char *buf);
+extern int hex2bin (const char *hex, gdb_byte *bin, int count);
+
+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);
#define O_LARGEFILE 0
#endif
-extern int hex2bin (const char *hex, gdb_byte *bin, int count);
-extern int bin2hex (const gdb_byte *bin, char *hex, int count);
-
/* Maximum length of an agent aexpression.
This accounts for the fact that packets are limited to 400 bytes
(which includes everything -- including the checksum), and assumes