X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fverror.h;h=ec4ff1d4a2e57a2997ea9efcc8fd1ad2f7e0a39f;hb=9ada6e7b5cf3aa507b6b54e47775c29ffd1378d3;hp=8cb511cb4832d86c9016f5661e766f756c57069d;hpb=d599e5add275f75ed08e6527b8ee4d3f4f7c3aea;p=gnulib.git diff --git a/lib/verror.h b/lib/verror.h index 8cb511cb4..ec4ff1d4a 100644 --- a/lib/verror.h +++ b/lib/verror.h @@ -17,9 +17,10 @@ #ifndef _VERROR_H #define _VERROR_H 1 -#include "error.h" #include +#include "error.h" /* for _GL_ATTRIBUTE_FORMAT */ + #ifdef __cplusplus extern "C" { #endif @@ -32,7 +33,7 @@ extern "C" { extern void verror (int __status, int __errnum, const char *__format, va_list __args) - __attribute__ ((__format__ (__printf__, 3, 0))); + _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 0)); /* Print a message with `vfprintf (stderr, FORMAT, ARGS)'; if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). @@ -44,7 +45,7 @@ extern void verror (int __status, int __errnum, const char *__format, extern void verror_at_line (int __status, int __errnum, const char *__fname, unsigned int __lineno, const char *__format, va_list __args) - __attribute__ ((__format__ (__printf__, 5, 0))); + _GL_ATTRIBUTE_FORMAT ((__printf__, 5, 0)); #ifdef __cplusplus }