]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Unfortunately gcc4 doesn't like recently added prototypes. Comment
authorJulian Seward <jseward@acm.org>
Sat, 15 Oct 2005 00:58:26 +0000 (00:58 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 15 Oct 2005 00:58:26 +0000 (00:58 +0000)
out for the time being.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4926

coregrind/m_debuginfo/symtypes.c

index 533de634102f88e01156ae60060df0b7e497b639..dd29452f361cbf77ed9f1a54732cc235c13821f0 100644 (file)
@@ -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;