summaryrefslogtreecommitdiff
path: root/gl/lib/argp.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/argp.h')
-rw-r--r--gl/lib/argp.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gl/lib/argp.h b/gl/lib/argp.h
index 4cc65639..808c900b 100644
--- a/gl/lib/argp.h
+++ b/gl/lib/argp.h
@@ -34,18 +34,6 @@
# define __NTH(fct) fct __THROW
#endif
-/* The __attribute__ feature is available in gcc versions 2.5 and later.
- The __-protected variants of the attributes 'format' and 'printf' are
- accepted by gcc versions 2.6.4 (effectively 2.7) and later.
- We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because
- gnulib and libintl do '#define printf __printf__' when they override
- the 'printf' function. */
-#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
-# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
-#else
-# define _GL_ATTRIBUTE_FORMAT(spec) /* empty */
-#endif
-
/* GCC 2.95 and later have "__restrict"; C99 compilers have
"restrict", and "configure" may have defined "restrict".
Other compilers use __restrict, __restrict__, and _Restrict, and