It seems that error.c uses _GL_ATTRIBUTE_FORMAT_PRINTF but it doesn't
depend on anything that defines it.

regards,
Nikos

>From 0646d27d063b097758b23081f8881765c7093fa8 Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <n...@gnutls.org>
Date: Thu, 21 Nov 2013 19:58:47 +0100
Subject: [PATCH] The _GL macros aren't defined if only this module is used.

---
 lib/error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/error.c b/lib/error.c
index cdc3026..5608656 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -195,7 +195,7 @@ print_errno_message (int errnum)
 #endif
 }
 
-static void _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) _GL_ARG_NONNULL ((3))
+static void 
 error_tail (int status, int errnum, const char *message, va_list args)
 {
 #if _LIBC
-- 
1.8.4.2

Reply via email to