cp_lookup_symbol_imports: Make static.
authorDoug Evans <xdje42@gmail.com>
Wed, 10 Dec 2014 18:04:00 +0000 (10:04 -0800)
committerDoug Evans <xdje42@gmail.com>
Wed, 10 Dec 2014 18:05:32 +0000 (10:05 -0800)
gdb/ChangeLog:

* cp-namespace.c (cp_lookup_symbol_imports): Make static.
* cp-support.c (cp_lookup_symbol_imports): Delete.

gdb/ChangeLog
gdb/cp-namespace.c
gdb/cp-support.h

index 4aeb0cc8a9bbd72fd0d23af302a403851c33fef2..0819975e54497a28fac5aace1c85ebb103d1b4d9 100644 (file)
@@ -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
index fcfd17b4dfff080325471c6329978608d1b6425c..7e971e01ba0ee757a3122c7566c1c66b4a0d66d4 100644 (file)
@@ -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,
index c0ae35b1c4f8ac310505c488aa9ef7fa0eee6a9f..ede16f09e0b8841642054d1b46304efecd698969 100644 (file)
@@ -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,