summaryrefslogtreecommitdiff
path: root/include/err.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-18 21:29:02 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:27 +0200
commit23f8c147daab81fa277953696102357bbdd6d941 (patch)
treef96d1d58d9250e466f1bfefba140aa3b7a1379eb /include/err.h
parent8bb1bab7542944a3ce1b9c92fcb2ec6731806ae4 (diff)
err.c, err.h: no need for hidden functions
Since we reuse the functions in the same file, provide static __X() and use strong_alias to provide the visible functions. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/err.h')
-rw-r--r--include/err.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/err.h b/include/err.h
index 413e1ab26..7ff3553ab 100644
--- a/include/err.h
+++ b/include/err.h
@@ -36,26 +36,22 @@ 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