From: Bruno Haible Date: Thu, 16 Sep 2004 16:58:42 +0000 (+0000) Subject: Try to avoid a gcc error. X-Git-Tag: v0.14.2~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36e85a24d453ad0bfef19e621fa499c56c616972;p=thirdparty%2Fgettext.git Try to avoid a gcc error. --- diff --git a/gettext-tools/src/format.h b/gettext-tools/src/format.h index f4474e0bd..03cf96819 100644 --- a/gettext-tools/src/format.h +++ b/gettext-tools/src/format.h @@ -32,8 +32,9 @@ extern "C" { /* This type of callback is responsible for showing an error. */ -typedef void (*formatstring_error_logger_t) (const char *format, ...) +typedef void formatstring_error_logger_fn (const char *format, ...) __attribute__ ((__format__ (__printf__, 1, 2))); +typedef formatstring_error_logger_fn *formatstring_error_logger_t; /* This structure describes a format string parser for a language. */ struct formatstring_parser