mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-28 07:44:52 +00:00
da63b36ca7
- Rebase to current master - Fix pmtimer calibration to not take forever to fail on kvm. Signed-off-by: Peter Jones <pjones@redhat.com>
26 lines
723 B
Diff
26 lines
723 B
Diff
From c36c2a86404f373100775305f532c09d46f3c6ce Mon Sep 17 00:00:00 2001
|
|
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
Date: Mon, 14 Aug 2017 14:11:43 +0200
|
|
Subject: [PATCH 069/225] yylex: Explicilty cast fprintf to void.
|
|
|
|
It's needed to avoid warning on recent GCC.
|
|
---
|
|
grub-core/script/yylex.l | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/script/yylex.l b/grub-core/script/yylex.l
|
|
index 95b219170..7b44c37b7 100644
|
|
--- a/grub-core/script/yylex.l
|
|
+++ b/grub-core/script/yylex.l
|
|
@@ -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
|
|
|
|
--
|
|
2.14.3
|
|
|