diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/deffilep.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ld/deffilep.y b/ld/deffilep.y index e58d0e0bcb5..6bed6437fe2 100644 --- a/ld/deffilep.y +++ b/ld/deffilep.y @@ -102,7 +102,7 @@ static void def_version (int, int); static void def_directive (char *); static void def_aligncomm (char *str, int align); static int def_parse (void); -static int def_error (const char *); +static void def_error (const char *); static int def_lex (void); static int lex_forced_token = 0; @@ -1261,12 +1261,11 @@ def_aligncomm (char *str, int align) } } -static int +static void def_error (const char *err) { einfo ("%P: %s:%d: %s\n", def_filename ? def_filename : "<unknown-file>", linenumber, err); - return 0; } |