* grub-core/kern/emu/main.c: Build fix for emu.

This commit is contained in:
Vladimir Serbinenko 2013-12-21 18:09:19 +01:00
parent ca3e20886e
commit 96650a82ec
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/main.c: Build fix for emu.
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
Build fixes for argp.h with older gcc.

View file

@ -98,6 +98,8 @@ static struct argp_option options[] = {
{ 0, 0, 0, 0, 0, 0 }
};
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
static char *
help_filter (int key, const char *text, void *input __attribute__ ((unused)))
{
@ -112,6 +114,8 @@ help_filter (int key, const char *text, void *input __attribute__ ((unused)))
}
}
#pragma GCC diagnostic error "-Wformat-nonliteral"
struct arguments
{
const char *dev_map;