* tracepoint.c (stop_tracing): Don't declare.
authorTom Tromey <tromey@redhat.com>
Wed, 16 Mar 2011 15:18:58 +0000 (15:18 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 16 Mar 2011 15:18:58 +0000 (15:18 +0000)
* event-top.c (after_char_processing_hook): Add `(void)'.

gdb/ChangeLog
gdb/event-top.c
gdb/tracepoint.c

index fa0d69b60b8f5c0748b8dbb5c3cea843affe189a..0bcff4b306a0aef6500fe76ea5ca2954764141fa 100644 (file)
@@ -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.
index 71accf6363860ad3634c24a809a0f6787f274027..660f137b0882ebce9a3d057aae01dff24c81addf 100644 (file)
@@ -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);
 \f
 
 /* Wrapper function for calling into the readline library.  The event
index dfcefbd4f49c70168b3a35fe8d9e439fa77e955b..2d46da70039f277421868ac47992d59d77045f27 100644 (file)
@@ -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