summaryrefslogtreecommitdiff
path: root/lib/libc/gen/verr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/verr.c')
-rw-r--r--lib/libc/gen/verr.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libc/gen/verr.c b/lib/libc/gen/verr.c
index aecfc012bbd..c2a7c17dff6 100644
--- a/lib/libc/gen/verr.c
+++ b/lib/libc/gen/verr.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: verr.c,v 1.4 2002/06/08 04:52:55 fgsch Exp $";
+static char rcsid[] = "$OpenBSD: verr.c,v 1.5 2002/06/12 03:16:20 fgsch Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
@@ -43,12 +43,6 @@ static char rcsid[] = "$OpenBSD: verr.c,v 1.4 2002/06/08 04:52:55 fgsch Exp $";
#include <string.h>
#include <stdarg.h>
-#ifdef __indr_reference
-__indr_reference(_verr, verr);
-#else
-__weak_alias(verr, _verr);
-#endif
-
extern char *__progname; /* Program name, from crt0. */
__dead void
@@ -68,3 +62,6 @@ _verr(eval, fmt, ap)
(void)fprintf(stderr, "%s\n", strerror(sverrno));
exit(eval);
}
+
+__weak_alias(verr, _verr);
+