Fix warning due to unmunge() returning a const string that needs to be freed.
authorBen Pfaff <blp@gnu.org>
Sat, 11 Oct 2008 23:51:44 +0000 (16:51 -0700)
committerBen Pfaff <blp@gnu.org>
Sun, 12 Oct 2008 03:59:20 +0000 (20:59 -0700)
src/language/lexer/q2c.c

index 3e23390f05a240a31cf06e2e508364fcd89afe28..ea4e348148b29febf66718075ca8aabfef77eb29 100644 (file)
@@ -376,7 +376,7 @@ id_cpy (char **cp)
   *dest++ = '\0';
 }
 
-static const char *
+static char *
 unmunge (const char *s)
 {
   char *dest = xmalloc (strlen (s));