* psymtab.c (lookup_partial_symbol): Mark definition as static.
authorTom Tromey <tromey@redhat.com>
Thu, 24 Jun 2010 20:17:52 +0000 (20:17 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 24 Jun 2010 20:17:52 +0000 (20:17 +0000)
gdb/ChangeLog
gdb/psymtab.c

index 64c67d93c13378669ff1dac2125b8309d7ed9adf..d3f057e08b145ae88ca15f4fb692aaca1fa68816 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-24  Tom Tromey  <tromey@redhat.com>
+
+       * psymtab.c (lookup_partial_symbol): Mark definition as static.
+
 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
            Tom Tromey  <tromey@redhat.com>
 
index dc630402520e6eb3dde208822e928692fb525a25..367cf1ea12be3bdf7b74f7252460e3928007396b 100644 (file)
@@ -424,7 +424,7 @@ lookup_symbol_aux_psymtabs (struct objfile *objfile,
 /* Look, in partial_symtab PST, for symbol whose natural name is NAME.
    Check the global symbols if GLOBAL, the static symbols if not. */
 
-struct partial_symbol *
+static struct partial_symbol *
 lookup_partial_symbol (struct partial_symtab *pst, const char *name,
                       int global, domain_enum domain)
 {