+2004-09-16 Bruno Haible <bruno@clisp.org>
+
+ * format.h (formatstring_error_logger_t): Modify decl for GCC <= 3.0.
+ Reported by Jens A. Tkotz <jens@peino.de>.
+
2004-09-11 Bruno Haible <bruno@clisp.org>
* Makefile.am (msginit_SOURCES): Add plural-count.c.
/* This type of callback is responsible for showing an error. */
-typedef void formatstring_error_logger_fn (const char *format, ...)
- __attribute__ ((__format__ (__printf__, 1, 2)));
-typedef formatstring_error_logger_fn *formatstring_error_logger_t;
+typedef void (*formatstring_error_logger_t) (const char *format, ...)
+#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
+ __attribute__ ((__format__ (__printf__, 1, 2)))
+#endif
+;
/* This structure describes a format string parser for a language. */
struct formatstring_parser