From: Jim Meyering Date: Mon, 24 Apr 1995 16:25:29 +0000 (+0000) Subject: Protect format and printf with __*__. X-Git-Tag: textutils-1_12_1~229 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b51c7e73b5372cb9358797c8f5fa0116d36fdc6;p=thirdparty%2Fcoreutils.git Protect format and printf with __*__. --- diff --git a/lib/error.h b/lib/error.h index 2042e6afbe..728c38a971 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