aboutsummaryrefslogtreecommitdiffstats
path: root/lib/roken/err.hin
diff options
context:
space:
mode:
Diffstat (limited to 'lib/roken/err.hin')
-rw-r--r--lib/roken/err.hin16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/roken/err.hin b/lib/roken/err.hin
index 96fe5cf8515f..c5343c49adea 100644
--- a/lib/roken/err.hin
+++ b/lib/roken/err.hin
@@ -58,33 +58,33 @@
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
verr(int eval, const char *fmt, va_list ap)
- __attribute__ ((noreturn, format (printf, 2, 0)));
+ __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
err(int eval, const char *fmt, ...)
- __attribute__ ((noreturn, format (printf, 2, 3)));
+ __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
verrx(int eval, const char *fmt, va_list ap)
- __attribute__ ((noreturn, format (printf, 2, 0)));
+ __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
errx(int eval, const char *fmt, ...)
- __attribute__ ((noreturn, format (printf, 2, 3)));
+ __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
vwarn(const char *fmt, va_list ap)
- __attribute__ ((format (printf, 1, 0)));
+ __attribute__ ((__format__ (__printf__, 1, 0)));
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
warn(const char *fmt, ...)
- __attribute__ ((format (printf, 1, 2)));
+ __attribute__ ((__format__ (__printf__, 1, 2)));
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
vwarnx(const char *fmt, va_list ap)
- __attribute__ ((format (printf, 1, 0)));
+ __attribute__ ((__format__ (__printf__, 1, 0)));
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
warnx(const char *fmt, ...)
- __attribute__ ((format (printf, 1, 2)));
+ __attribute__ ((__format__ (__printf__, 1, 2)));
#endif /* __ERR_H__ */