summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/NEWS1
-rw-r--r--mdk-stage1/pcmcia/yacc_config.y4
2 files changed, 3 insertions, 2 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index 5d1af07f7..7316bc99e 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,4 +1,5 @@
- fix retrieving mirrorlist, broken in 1.53
+- fix build with Werror
1.53:
- display distro name in mirror list too (#191)
diff --git a/mdk-stage1/pcmcia/yacc_config.y b/mdk-stage1/pcmcia/yacc_config.y
index be5ef98fe..c33f397d6 100644
--- a/mdk-stage1/pcmcia/yacc_config.y
+++ b/mdk-stage1/pcmcia/yacc_config.y
@@ -29,7 +29,7 @@ extern int current_lineno;
extern int yylex(void); /* mdk-stage1 */
-void yyerror(char *msg, ...);
+void yyerror(const char *msg, ...);
%}
@@ -114,7 +114,7 @@ resource: IRQ_NO NUMBER
;
%%
-void yyerror(char *msg, ...)
+void yyerror(const char *msg, ...)
{
va_list ap;
char str[256];