summaryrefslogtreecommitdiff
path: root/lib/libc/gen/err.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2001-08-29 13:52:27 +0000
committerBruce Evans <bde@FreeBSD.org>2001-08-29 13:52:27 +0000
commit1643f03d5ffcd546a5ab371be686995141365d93 (patch)
tree4587fdf85fbc795e0cbf9e3c4a511da739cd65a8 /lib/libc/gen/err.c
parenteac68b24dcd8357a8f689bc295009de0e236565c (diff)
Notes
Diffstat (limited to 'lib/libc/gen/err.c')
-rw-r--r--lib/libc/gen/err.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c
index 6d1766c6ca30..528fa86ea6cc 100644
--- a/lib/libc/gen/err.c
+++ b/lib/libc/gen/err.c
@@ -37,7 +37,9 @@ static const char rcsid[] =
"$FreeBSD$";
#endif /* LIBC_RCS and not lint */
+#include "namespace.h"
#include <err.h>
+#include "un-namespace.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
@@ -143,8 +145,10 @@ verrx(eval, fmt, ap)
exit(eval);
}
+__weak_reference(_warn, warn);
+
void
-warn(const char *fmt, ...)
+_warn(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);