m68k: replace gcc specific macros with ones from compiler.h
[sfrench/cifs-2.6.git] / arch / m68k / include / asm / natfeat.h
index a3521b80c3b970c1aa4ddadc38654344ed6e108b..2d2424de1d658218686f262bb57d00e5fd2c4158 100644 (file)
@@ -6,6 +6,7 @@
  * This software may be used and distributed according to the terms of
  * the GNU General Public License (GPL), incorporated herein by reference.
  */
+#include <linux/compiler.h>
 
 #ifndef _NATFEAT_H
 #define _NATFEAT_H
@@ -17,6 +18,6 @@ void nf_init(void);
 void nf_shutdown(void);
 
 void nfprint(const char *fmt, ...)
-       __attribute__ ((format (printf, 1, 2)));
+       __printf(1, 2);
 
 # endif /* _NATFEAT_H */