Blame SOURCES/0021-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch

d41074
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
a85e8e
From: Vladimir Serbinenko <phcoder@gmail.com>
a85e8e
Date: Sat, 18 Jan 2014 16:43:29 +0100
d41074
Subject: [PATCH] * util/grub-mount.c: Extend GCC warning workaround to
a85e8e
 grub-mount.
a85e8e
a85e8e
---
a85e8e
 util/grub-mount.c | 7 ++++++-
d41074
 ChangeLog         | 4 ++++
a85e8e
 2 files changed, 10 insertions(+), 1 deletion(-)
a85e8e
a85e8e
diff --git a/util/grub-mount.c b/util/grub-mount.c
d41074
index 118881e0d9d..19de2e62057 100644
a85e8e
--- a/util/grub-mount.c
a85e8e
+++ b/util/grub-mount.c
a85e8e
@@ -41,8 +41,13 @@
a85e8e
 #include <string.h>
a85e8e
 #include <stdlib.h>
a85e8e
 
a85e8e
+#pragma GCC diagnostic ignored "-Wmissing-prototypes"
a85e8e
+#pragma GCC diagnostic ignored "-Wmissing-declarations"
a85e8e
+#include <argp.h>
a85e8e
+#pragma GCC diagnostic error "-Wmissing-prototypes"
a85e8e
+#pragma GCC diagnostic error "-Wmissing-declarations"
a85e8e
+
a85e8e
 #include "progname.h"
a85e8e
-#include "argp.h"
a85e8e
 
a85e8e
 static const char *root = NULL;
a85e8e
 grub_device_t dev = NULL;
d41074
diff --git a/ChangeLog b/ChangeLog
d41074
index b04a4ef70b9..8534158b6c0 100644
d41074
--- a/ChangeLog
d41074
+++ b/ChangeLog
d41074
@@ -1,3 +1,7 @@
d41074
+2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>
d41074
+
d41074
+	* util/grub-mount.c: Extend GCC warning workaround to grub-mount.
d41074
+
d41074
 2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>
d41074
 
d41074
 	* grub-core/kern/efi/efi.c: Ensure that the result starts with /