From 62f6e91ab428f85e967bbb85039645d3cc583bd2 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sat, 15 Oct 2005 00:58:26 +0000 Subject: [PATCH] Unfortunately gcc4 doesn't like recently added prototypes. Comment out for the time being. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4926 --- coregrind/m_debuginfo/symtypes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coregrind/m_debuginfo/symtypes.c b/coregrind/m_debuginfo/symtypes.c index 533de6341..dd29452f3 100644 --- a/coregrind/m_debuginfo/symtypes.c +++ b/coregrind/m_debuginfo/symtypes.c @@ -761,7 +761,7 @@ Char *VG_(describe_addr)(ThreadId tid, Addr addr) /* Add a new variable to the list */ // (the declaration avoids a compiler warning) - static void newvar(Char *name, SymType *ty, Addr valuep, UInt size); + //static void newvar(Char *name, SymType *ty, Addr valuep, UInt size); void newvar(Char *name, SymType *ty, Addr valuep, UInt size) { Variable *v; @@ -982,7 +982,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); // avoid warning + // static void genstring(Variable *v, Variable *inner); // avoid warning void genstring(Variable *v, Variable *inner) { Variable *c = v->container;