diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2014-12-14 20:32:54 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-12-14 20:36:10 +0000 |
commit | 1fafbb302d231d0a28a8445c8f18fcb397021556 (patch) | |
tree | 5f006f97f6eb2dfe88e518cbfde5fd3ffb67ef36 /lib | |
parent | e45661b4c89151dd6c04238b7391890400da9f7f (diff) | |
download | gnulib-1fafbb302d231d0a28a8445c8f18fcb397021556.tar.gz |
parse-datetime: avoid a compiler warning with byacc
* lib/parse-datetime.y (yylex): Use the same prototype in the
function definition as the declaration, to avoid a -Wstrict-prototypes
warning seen when using byacc.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/parse-datetime.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse-datetime.y b/lib/parse-datetime.y index 52e6a0c215..72d6c38600 100644 --- a/lib/parse-datetime.y +++ b/lib/parse-datetime.y @@ -1031,7 +1031,7 @@ lookup_word (parser_control const *pc, char *word) } static int -yylex (YYSTYPE *lvalp, parser_control *pc) +yylex (union YYSTYPE *lvalp, parser_control *pc) { unsigned char c; size_t count; |