summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mi/mi-main.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 003c395d7d0..377df569693 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-17 Pedro Alves <pedro@codesourcery.com>
+
+ * mi/mi-main.h (mi_print_timing_maybe): Add strict prototype,
+ declare as extern.
+
2009-03-17 Hui Zhu <teawater@gmail.com>
* stack.c: Include valprint.h.
diff --git a/gdb/mi/mi-main.h b/gdb/mi/mi-main.h
index 1383177f27a..90a61e3821b 100644
--- a/gdb/mi/mi-main.h
+++ b/gdb/mi/mi-main.h
@@ -26,11 +26,11 @@ extern void mi_load_progress (const char *section_name,
unsigned long total_sent,
unsigned long grand_total);
+extern void mi_print_timing_maybe (void);
+
extern char *current_token;
extern int running_result_record_printed;
-void mi_print_timing_maybe ();
-
#endif