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