diff options
Diffstat (limited to 'misc/err.h')
-rw-r--r-- | misc/err.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -29,23 +29,23 @@ __BEGIN_DECLS and a newline, on stderr. */ extern void warn (const char *__format, ...) __attribute__ ((__format__ (__printf__, 1, 2))); -extern void vwarn (const char *__format, __gnuc_va_list) +extern void vwarn (const char *__format, __va_list) __attribute__ ((__format__ (__printf__, 1, 0))); /* Likewise, but without ": " and the standard error string. */ extern void warnx (const char *__format, ...) __attribute__ ((__format__ (__printf__, 1, 2))); -extern void vwarnx (const char *__format, __gnuc_va_list) +extern void vwarnx (const char *__format, __va_list) __attribute__ ((__format__ (__printf__, 1, 0))); /* Likewise, and then exit with STATUS. */ extern void err (int __status, const char *__format, ...) __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3))); -extern void verr (int __status, const char *__format, __gnuc_va_list) +extern void verr (int __status, const char *__format, __va_list) __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0))); extern void errx (int __status, const char *__format, ...) __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3))); -extern void verrx (int __status, const char *, __gnuc_va_list) +extern void verrx (int __status, const char *, __va_list) __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0))); #ifdef __LDBL_COMPAT |