-Wwrite-strings: The Rest
[deliverable/binutils-gdb.git] / gdb / m2-exp.y
index acf2e1b83dc0b7f73730ccfe328242e1bfc90a51..9179187aa20e2125d774e04480835896bf38a56f 100644 (file)
@@ -65,7 +65,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (char *);
+void yyerror (const char *);
 
 static int parse_number (int);
 
@@ -1050,7 +1050,7 @@ m2_parse (struct parser_state *par_state)
 }
 
 void
-yyerror (char *msg)
+yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
This page took 0.025036 seconds and 4 git commands to generate.