* [COMMITTED PATCH] cp_lookup_symbol_imports: Make static.
@ 2014-12-10 18:09 Doug Evans
0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2014-12-10 18:09 UTC (permalink / raw)
To: gdb-patches
Hi.
A simple obvious cleanup.
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.
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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-10 18:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-10 18:09 [COMMITTED PATCH] cp_lookup_symbol_imports: Make static Doug Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).