diff options
author | Doug Evans <xdje42@gmail.com> | 2014-12-10 10:04:00 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-12-10 10:05:32 -0800 |
commit | 9a80057aa002674468fa90135f4f361dd34b9f2a (patch) | |
tree | 224ea3878f10cc0e6b791159be158e984fb2625a | |
parent | 1abf3a143773819e195fceaa485060dcac9e6089 (diff) | |
download | gdb-9a80057aa002674468fa90135f4f361dd34b9f2a.zip gdb-9a80057aa002674468fa90135f4f361dd34b9f2a.tar.gz gdb-9a80057aa002674468fa90135f4f361dd34b9f2a.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/cp-namespace.c | 2 | ||||
-rw-r--r-- | gdb/cp-support.h | 7 |
3 files changed, 6 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4aeb0cc..0819975 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-12-10 Doug Evans <xdje42@gmail.com> + + * cp-namespace.c (cp_lookup_symbol_imports): Make static. + * cp-support.c (cp_lookup_symbol_imports): Delete. + 2014-12-10 Simon Marchi <simon.marchi@ericsson.com> PR gdb/17627 diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index fcfd17b..7e971e0 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 c0ae35b..ede16f0 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, |