From: Doug Evans Date: Wed, 10 Dec 2014 18:04:00 +0000 (-0800) Subject: cp_lookup_symbol_imports: Make static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a80057aa002674468fa90135f4f361dd34b9f2a;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4aeb0cc8a9b..0819975e544 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 fcfd17b4dff..7e971e01ba0 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 c0ae35b1c4f..ede16f09e0b 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,