diff options
author | Yao Qi <yao@codesourcery.com> | 2012-12-19 07:51:50 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-12-19 07:51:50 +0000 |
commit | 025cfdb2f707decb46b02ab34da0a8a48c021178 (patch) | |
tree | 2969993364dbcc3f10c992340104dad691d166f0 | |
parent | 19a3671ce89692f463fae376af7990195ebd88ca (diff) | |
download | gdb-025cfdb2f707decb46b02ab34da0a8a48c021178.zip gdb-025cfdb2f707decb46b02ab34da0a8a48c021178.tar.gz gdb-025cfdb2f707decb46b02ab34da0a8a48c021178.tar.bz2 |
gdb/
2012-12-19 Yao Qi <yao@codesourcery.com>
* maint.c (maintenance_print_statistics): Make it static.
* symtab.h (maintenance_print_statistics): Remove declaration.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/maint.c | 2 | ||||
-rw-r--r-- | gdb/symtab.h | 4 |
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); |