From: Vladimir Serbinenko Date: Sun, 8 Dec 2013 17:21:10 +0000 (+0100) Subject: * grub-core/kern/emu/main.c: Silence missing prototypes to allow emu X-Git-Tag: grub-2.02-beta1~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d14772c455f429191219cc9ac285471b68545de4;p=thirdparty%2Fgrub.git * grub-core/kern/emu/main.c: Silence missing prototypes to allow emu compilation with GCC <= 4.2. * grub-core/kern/emu/argp_common.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index f4691f3a4..d03b15c6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-12-08 Vladimir Serbinenko + + * grub-core/kern/emu/main.c: Silence missing prototypes to allow emu + compilation with GCC <= 4.2. + * grub-core/kern/emu/argp_common.c: Likewise. + 2013-12-08 Vladimir Serbinenko * include/grub/kernel.h [__sparc__]: Restrict sparc64-ieee1275 to diff --git a/grub-core/kern/emu/argp_common.c b/grub-core/kern/emu/argp_common.c index e519b529e..4aca01550 100644 --- a/grub-core/kern/emu/argp_common.c +++ b/grub-core/kern/emu/argp_common.c @@ -20,6 +20,8 @@ #include #include +#pragma GCC diagnostic ignored "-Wmissing-prototypes" + #define _GNU_SOURCE 1 #include #include diff --git a/grub-core/kern/emu/main.c b/grub-core/kern/emu/main.c index 39fa3be10..eddb192f9 100644 --- a/grub-core/kern/emu/main.c +++ b/grub-core/kern/emu/main.c @@ -44,6 +44,8 @@ #include #include +#pragma GCC diagnostic ignored "-Wmissing-prototypes" + #include "progname.h" #include