From 9a80057aa002674468fa90135f4f361dd34b9f2a Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 10 Dec 2014 10:04:00 -0800 Subject: [PATCH] cp_lookup_symbol_imports: Make static. gdb/ChangeLog: * cp-namespace.c (cp_lookup_symbol_imports): Make static. * cp-support.c (cp_lookup_symbol_imports): Delete. --- gdb/ChangeLog | 5 +++++ gdb/cp-namespace.c | 2 +- gdb/cp-support.h | 7 ------- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4aeb0cc8a9..0819975e54 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-12-10 Doug Evans + + * cp-namespace.c (cp_lookup_symbol_imports): Make static. + * cp-support.c (cp_lookup_symbol_imports): Delete. + 2014-12-10 Simon Marchi PR gdb/17627 diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index fcfd17b4df..7e971e01ba 100644 --- a/gdb/cp-namespace.c +++ b/gdb/cp-namespace.c @@ -299,7 +299,7 @@ reset_directive_searched (void *data) namespaces X and Y will be considered. If SEARCH_PARENTS is false only the import of Y is considered. */ -struct symbol * +static struct symbol * cp_lookup_symbol_imports (const char *scope, const char *name, const struct block *block, diff --git a/gdb/cp-support.h b/gdb/cp-support.h index c0ae35b1c4..ede16f09e0 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -201,13 +201,6 @@ extern struct symbol *cp_lookup_symbol_namespace (const char *namespace, const struct block *block, const domain_enum domain); -extern struct symbol *cp_lookup_symbol_imports (const char *scope, - const char *name, - const struct block *block, - const domain_enum domain, - const int declaration_only, - const int search_parents); - extern struct symbol *cp_lookup_symbol_imports_or_template (const char *scope, const char *name, -- 2.34.1