mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Unfortunately gcc4 doesn't like recently added prototypes. Comment
out for the time being. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4926
This commit is contained in:
parent
100db4b3eb
commit
62f6e91ab4
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user