diff options
Diffstat (limited to 'lib/libc/gen/errx.c')
-rw-r--r-- | lib/libc/gen/errx.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/gen/errx.c b/lib/libc/gen/errx.c index 9b109de9039..f307e243b0e 100644 --- a/lib/libc/gen/errx.c +++ b/lib/libc/gen/errx.c @@ -32,12 +32,19 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: errx.c,v 1.4 2002/02/19 19:39:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: errx.c,v 1.5 2002/06/08 04:52:55 fgsch Exp $"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> #include <err.h> #include <stdarg.h> +#ifdef __indr_reference +__indr_reference(_errx, errx); +#else +__weak_alias(errx, _errx); +#endif + __dead void _errx(int eval, const char *fmt, ...) { |