summaryrefslogtreecommitdiff
path: root/include/err.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
commitcb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch)
treef5f56f2ef0f3048325419857d0b538135524ff8c /include/err.h
parentb133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff)
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
Diffstat (limited to 'include/err.h')
-rw-r--r--include/err.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/err.h b/include/err.h
index 7ff3553ab..413e1ab26 100644
--- a/include/err.h
+++ b/include/err.h
@@ -36,22 +36,26 @@ extern void warn (__const char *__format, ...)
__attribute__ ((__format__ (__printf__, 1, 2)));
extern void vwarn (__const char *__format, __gnuc_va_list)
__attribute__ ((__format__ (__printf__, 1, 0)));
+libc_hidden_proto(vwarn)
/* 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)
__attribute__ ((__format__ (__printf__, 1, 0)));
+libc_hidden_proto(vwarnx)
/* 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)
__attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
+libc_hidden_proto(verr)
extern void errx (int __status, __const char *__format, ...)
__attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
extern void verrx (int __status, __const char *, __gnuc_va_list)
__attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
+libc_hidden_proto(verrx)
__END_DECLS