From: Nicholas Nethercote Date: Sat, 12 Mar 2005 15:39:54 +0000 (+0000) Subject: Unbreak build (for me, gcc-4.0.0-pre -- nested functions can't be static). X-Git-Tag: svn/VALGRIND_3_0_0~1016 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0e91e1d8e0a5549bfbecb3af2b04236fa6a211b;p=thirdparty%2Fvalgrind.git Unbreak build (for me, gcc-4.0.0-pre -- nested functions can't be static). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3302 --- diff --git a/coregrind/vg_symtypes.c b/coregrind/vg_symtypes.c index 8e9d0794bd..b0e386a2a6 100644 --- a/coregrind/vg_symtypes.c +++ b/coregrind/vg_symtypes.c @@ -748,7 +748,7 @@ Char *VG_(describe_addr)(ThreadId tid, Addr addr) Bool keep = False; /* Add a new variable to the list */ - static void newvar(Char *name, SymType *ty, Addr valuep, UInt size) { + void newvar(Char *name, SymType *ty, Addr valuep, UInt size) { Variable *v; /* have we been here before? */ @@ -968,7 +968,7 @@ Char *VG_(describe_addr)(ThreadId tid, Addr addr) Char expr[len*2]; Char *sp = &expr[len]; /* pointer at start of string */ Char *ep = sp; /* pointer at end of string */ - static void genstring(Variable *v, Variable *inner) { + void genstring(Variable *v, Variable *inner) { Variable *c = v->container; if (c != NULL)