aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-12-10 10:04:00 -0800
committerDoug Evans <xdje42@gmail.com>2014-12-10 10:05:32 -0800
commit9a80057aa002674468fa90135f4f361dd34b9f2a (patch)
tree224ea3878f10cc0e6b791159be158e984fb2625a /gdb
parent1abf3a143773819e195fceaa485060dcac9e6089 (diff)
downloadfsf-binutils-gdb-9a80057aa002674468fa90135f4f361dd34b9f2a.zip
fsf-binutils-gdb-9a80057aa002674468fa90135f4f361dd34b9f2a.tar.gz
fsf-binutils-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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cp-namespace.c2
-rw-r--r--gdb/cp-support.h7
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,