From 1843028924270956593a8870cce75a4033531910 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 24 Jun 2010 20:17:52 +0000 Subject: [PATCH] * psymtab.c (lookup_partial_symbol): Mark definition as static. --- gdb/ChangeLog | 4 ++++ gdb/psymtab.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 64c67d93c13..d3f057e08b1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-06-24 Tom Tromey + + * psymtab.c (lookup_partial_symbol): Mark definition as static. + 2010-06-24 Jan Kratochvil Tom Tromey 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) { -- 2.30.2