summaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-03-07 17:29:30 +0000
committerPedro Alves <palves@redhat.com>2013-03-07 17:29:30 +0000
commitc4a72c18337864933890575a3c804e8a7f172725 (patch)
treeb6ac328af1850da3b5e758a940178ada6b759f27 /gdb/tracepoint.c
parentb372434e1bf2ad62fc62e2cdadfaac49f46cf13d (diff)
downloadgdb-c4a72c18337864933890575a3c804e8a7f172725.tar.gz
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 a2122279d34..c36c1a7bc85 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