X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/004fd0c8834ca526d335a9294322d9def17ef8a9..e3556282410eb387e426d68076403fa69f2b669f:/src/common/dosyacc.c diff --git a/src/common/dosyacc.c b/src/common/dosyacc.c index 9515eb878c..a773cce6ef 100644 --- a/src/common/dosyacc.c +++ b/src/common/dosyacc.c @@ -247,7 +247,10 @@ void yyerror(char *s) #define yywrap() 1 #endif #else -int yywrap() { return 1; } +# if !(defined(__VISAGECPP__) && __IBMC__ >= 400) +/* VA 4.0 thinks this is multiply defined (in lex_yy.c) */ + int yywrap() { return 1; } +# endif #endif #endif #line 247 "y_tab.c" @@ -255,7 +258,7 @@ int yywrap() { return 1; } #define YYACCEPT goto yyaccept #define YYERROR goto yyerrlab int -yyparse() +PROIO_yyparse() { register int yym, yyn, yystate; #if YYDEBUG