aboutsummaryrefslogtreecommitdiff
path: root/gdb/annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r--gdb/annotate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c
index 28dd231..cf9e88c 100644
--- a/gdb/annotate.c
+++ b/gdb/annotate.c
@@ -614,8 +614,9 @@ breakpoint_changed (struct breakpoint *b)
annotate_breakpoints_invalid ();
}
+void _initialize_annotate ();
void
-_initialize_annotate (void)
+_initialize_annotate ()
{
gdb::observers::breakpoint_created.attach (breakpoint_changed);
gdb::observers::breakpoint_deleted.attach (breakpoint_changed);