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

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