aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/maint.c2
-rw-r--r--gdb/symtab.h4
3 files changed, 6 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8803bf8..952f214 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-19 Yao Qi <yao@codesourcery.com>
+
+ * maint.c (maintenance_print_statistics): Make it static.
+ * symtab.h (maintenance_print_statistics): Remove declaration.
+
2012-12-19 Joel Brobecker <brobecker@adacore.com>
* NEWS: Add entry announcing ppc-lynx178 support.
diff --git a/gdb/maint.c b/gdb/maint.c
index 6a106fd..afb9968 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -395,7 +395,7 @@ maintenance_info_sections (char *arg, int from_tty)
}
}
-void
+static void
maintenance_print_statistics (char *args, int from_tty)
{
print_objfile_statistics ();
diff --git a/gdb/symtab.h b/gdb/symtab.h
index ea39326..2ab41f4 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1174,10 +1174,6 @@ void maintenance_info_psymtabs (char *, int);
void maintenance_check_symtabs (char *, int);
-/* maint.c */
-
-void maintenance_print_statistics (char *, int);
-
/* Symbol-reading stuff in symfile.c and solib.c. */
extern void clear_solib (void);