yylex: Explicilty cast fprintf to void.

It's needed to avoid warning on recent GCC.

Bug-Debian: https://bugs.debian.org/890431
Last-Update: 2018-02-16

Patch-Name: fix-yylex-build.patch
This commit is contained in:
Vladimir Serbinenko 2017-08-14 14:11:43 +02:00 committed by Colin Watson
parent b2605b329b
commit 14c4f88437

View File

@ -91,7 +91,7 @@ typedef size_t yy_size_t;
#define stdin 0
#define stdout 0
#define fprintf(...) 0
#define fprintf(...) (void)0
#define exit(...) grub_fatal("fatal error in lexer")
#endif