changeset 404:746d00bc937d

Protect format and printf with __*__.
author Jim Meyering <jim@meyering.net>
date Mon, 24 Apr 1995 16:25:29 +0000
parents fae5c15f7778
children 1aef6914aecd
files lib/error.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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