Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
grub2.5759
0001-yylex-Explicilty-cast-fprintf-to-void.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-yylex-Explicilty-cast-fprintf-to-void.patch of Package grub2.5759
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] 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(-) Index: grub-2.02~beta2/grub-core/script/yylex.l =================================================================== --- grub-2.02~beta2.orig/grub-core/script/yylex.l +++ grub-2.02~beta2/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(...) #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor