diff options
Diffstat (limited to 'binutils/sysinfo.y')
-rw-r--r-- | binutils/sysinfo.y | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/binutils/sysinfo.y b/binutils/sysinfo.y index 3d09fc0f958..7aca49ef7f8 100644 --- a/binutils/sysinfo.y +++ b/binutils/sysinfo.y @@ -33,7 +33,7 @@ static int rdepth; static char *names[] = {" ","[n]","[n][m]"}; static char *pnames[]= {"","*","**"}; -static int yyerror (char *s); +static void yyerror (const char *s); extern int yylex (void); %} @@ -434,9 +434,8 @@ if (writecode == 'd') return 0; } -static int -yyerror (char *s) +static void +yyerror (const char *s) { fprintf(stderr, "%s\n" , s); - return 0; } |