This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]