File gcc46-fixes.patch of Package grub2

---
 include/grub/test.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/include/grub/test.h
+++ b/include/grub/test.h
@@ -49,8 +49,7 @@ int grub_test_run (grub_test_t test);
 /* Test `cond' for nonzero; log failure otherwise.  */
 void grub_test_nonzero (int cond, const char *file,
 			const char *func, grub_uint32_t line,
-			const char *fmt, ...)
-  __attribute__ ((format (printf, 5, 6)));
+			const char *fmt, ...);
 
 /* Macro to fill in location details and an optional error message.  */
 #define grub_test_assert(cond, ...)				\
openSUSE Build Service is sponsored by