]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Try to avoid a gcc error.
authorBruno Haible <bruno@clisp.org>
Thu, 16 Sep 2004 16:58:42 +0000 (16:58 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:55 +0000 (12:11 +0200)
gettext-tools/src/format.h

index f4474e0bd6130ff4df6633a4ba62e235719870e7..03cf968194b2de086cc60abcd819fded15ad71c0 100644 (file)
@@ -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