aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-03-17 05:18:45 +0000
committerPedro Alves <palves@redhat.com>2009-03-17 05:18:45 +0000
commit6b251945f5a8ccc4856e0401c07f51d6f1764c72 (patch)
treebf8cc0816dd2d9f60dff6a6e5b56229e7e0927f5
parentdafb3b41679c1ddeeb183b552b2a45c89af43c0c (diff)
downloadgdb-6b251945f5a8ccc4856e0401c07f51d6f1764c72.zip
gdb-6b251945f5a8ccc4856e0401c07f51d6f1764c72.tar.gz
gdb-6b251945f5a8ccc4856e0401c07f51d6f1764c72.tar.bz2
* mi/mi-main.h (mi_print_timing_maybe): Add strict prototype,
declare as extern.
-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 003c395..377df56 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 1383177..90a61e3 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