* 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.
This commit is contained in:
Vladimir Serbinenko 2013-12-08 18:21:10 +01:00
parent 388f3cd0d1
commit d14772c455
3 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-12-08 Vladimir Serbinenko <phcoder@gmail.com>
* 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 <phcoder@gmail.com>
* include/grub/kernel.h [__sparc__]: Restrict sparc64-ieee1275 to

View file

@ -20,6 +20,8 @@
#include <config.h>
#include <config-util.h>
#pragma GCC diagnostic ignored "-Wmissing-prototypes"
#define _GNU_SOURCE 1
#include <stdlib.h>
#include <unistd.h>

View file

@ -44,6 +44,8 @@
#include <grub/loader.h>
#include <grub/util/misc.h>
#pragma GCC diagnostic ignored "-Wmissing-prototypes"
#include "progname.h"
#include <argp.h>