This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Make maintenance_print_statistics static.
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Wed, 19 Dec 2012 15:29:49 +0800
- Subject: [obv] Make maintenance_print_statistics static.
Committed as it is obvious.
gdb:
2012-12-19 Yao Qi <yao@codesourcery.com>
* maint.c (maintenance_print_statistics): Make it static.
* symtab.h (maintenance_print_statistics): Remove declaration.
---
gdb/maint.c | 2 +-
gdb/symtab.h | 4 ----
2 files changed, 1 insertions(+), 5 deletions(-)
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 6683cf5..b3c084d 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);
--
1.7.7.6