aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-06-24 20:17:52 +0000
committerTom Tromey <tromey@redhat.com>2010-06-24 20:17:52 +0000
commit1843028924270956593a8870cce75a4033531910 (patch)
treee48825270891533d08b9ba2f2c040357da4a3c2f /gdb/psymtab.c
parentgdb/ (diff)
downloadbinutils-gdb-1843028924270956593a8870cce75a4033531910.tar.gz
binutils-gdb-1843028924270956593a8870cce75a4033531910.tar.bz2
binutils-gdb-1843028924270956593a8870cce75a4033531910.zip
* psymtab.c (lookup_partial_symbol): Mark definition as static.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index dc630402520..367cf1ea12b 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -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)
{