From 459c1dd58be4d03191fee2390125a510b99bfbe4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 24 Apr 1995 16:25:29 +0000 Subject: [PATCH] Protect format and printf with __*__. --- lib/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/error.h b/lib/error.h index 2042e6afb..728c38a97 100644 --- a/lib/error.h +++ b/lib/error.h @@ -26,7 +26,7 @@ #if __STDC__ void error (int, int, const char *, ...) \ - __attribute__ ((format (printf, 3, 4))); + __attribute__ ((__format__ (__printf__, 3, 4))); #else void error (); #endif -- 2.11.0