+2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/getdate.y (yyerror): Make the arguments pointer-to-const,
+ to pacify GCC with some -W flags enabled. Problem reported by
+ Bruno Haible.
+
2006-10-24 Jim Meyering <jim@meyering.net>
* MODULES.html.sh: Remove uinttostr. It's not a module.
union YYSTYPE;
static int yylex (union YYSTYPE *, parser_control *);
-static int yyerror (parser_control *, char *);
+static int yyerror (parser_control const *, char const *);
static long int time_zone_hhmm (textint, long int);
%}
/* Do nothing if the parser reports an error. */
static int
-yyerror (parser_control *pc ATTRIBUTE_UNUSED, char *s ATTRIBUTE_UNUSED)
+yyerror (parser_control const *pc ATTRIBUTE_UNUSED,
+ char const *s ATTRIBUTE_UNUSED)
{
return 0;
}