aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.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/tracepoint.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/tracepoint.c')
-rw-r--r--gdb/tracepoint.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index a212227..c36c1a7 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -69,9 +69,6 @@
#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