aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-03-16 15:18:58 +0000
committerTom Tromey <tromey@redhat.com>2011-03-16 15:18:58 +0000
commitb08ee6a2eea46111d762692dc45fbe0194f51c2c (patch)
tree84e4d6357861e61300f3659a34d9b997e3c1f543
parent629e7ca8ec7498a538a5a21e6689eedeb28207ca (diff)
downloadgdb-b08ee6a2eea46111d762692dc45fbe0194f51c2c.zip
gdb-b08ee6a2eea46111d762692dc45fbe0194f51c2c.tar.gz
gdb-b08ee6a2eea46111d762692dc45fbe0194f51c2c.tar.bz2
* tracepoint.c (stop_tracing): Don't declare.
* event-top.c (after_char_processing_hook): Add `(void)'.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/event-top.c2
-rw-r--r--gdb/tracepoint.c2
3 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fa0d69b..0bcff4b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-16 Tom Tromey <tromey@redhat.com>
+
+ * tracepoint.c (stop_tracing): Don't declare.
+ * event-top.c (after_char_processing_hook): Add `(void)'.
+
2011-03-16 Phil Muldoon <pmuldoon@redhat.com>
* NEWS: Add Parameter sub-classing description.
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 71accf6..660f137 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -165,7 +165,7 @@ readline_input_state;
/* This hook is called by rl_callback_read_char_wrapper after each
character is processed. */
-void (*after_char_processing_hook) ();
+void (*after_char_processing_hook) (void);
/* Wrapper function for calling into the readline library. The event
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index dfcefbd..2d46da7 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -70,8 +70,6 @@
extern int hex2bin (const char *hex, gdb_byte *bin, int count);
extern int bin2hex (const gdb_byte *bin, char *hex, int count);
-extern void stop_tracing ();
-
/* 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