-Wwrite-strings: The Rest
[deliverable/binutils-gdb.git] / gdb / cp-name-parser.y
index 73a4d9083a7178d9f778d06a242f8216baa1ec7c..78745cb5c7e4a6693bbd9e7ed6bb9d76d178bfe5 100644 (file)
@@ -173,7 +173,7 @@ static struct demangle_component *d_binary (const char *,
 
 int yyparse (void);
 static int yylex (void);
-static void yyerror (char *);
+static void yyerror (const char *);
 
 /* Enable yydebug for the stand-alone parser.  */
 #ifdef TEST_CPNAMES
@@ -1934,7 +1934,7 @@ yylex (void)
 }
 
 static void
-yyerror (char *msg)
+yyerror (const char *msg)
 {
   if (global_errmsg)
     return;
This page took 0.024583 seconds and 4 git commands to generate.