]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/kern/emu/main.c: Silence missing prototypes to allow emu
authorVladimir Serbinenko <phcoder@gmail.com>
Sun, 8 Dec 2013 17:21:10 +0000 (18:21 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sun, 8 Dec 2013 17:21:10 +0000 (18:21 +0100)
compilation with GCC <= 4.2.
* grub-core/kern/emu/argp_common.c: Likewise.

ChangeLog
grub-core/kern/emu/argp_common.c
grub-core/kern/emu/main.c

index f4691f3a499f1cd40e8cfd574df80508ca618374..d03b15c6d2085004730218b3570607ec1a9a5506 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index e519b529ece3167c3c7d6ec0e3fa955f88eec1e5..4aca01550b0c1f18f1d904e8391341f0b2339bf0 100644 (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>
index 39fa3be10cadc0aebf93a7a2f17ca281a40546e4..eddb192f912692202fc83871bd5b103193edd7fe 100644 (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>