summaryrefslogtreecommitdiff
path: root/lib/libc/gen/vwarnx.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/vwarnx.c')
-rw-r--r--lib/libc/gen/vwarnx.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/gen/vwarnx.c b/lib/libc/gen/vwarnx.c
index 40619302413..dbc56b1ca1e 100644
--- a/lib/libc/gen/vwarnx.c
+++ b/lib/libc/gen/vwarnx.c
@@ -32,13 +32,20 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: vwarnx.c,v 1.3 2002/02/19 19:39:36 millert Exp $";
+static char rcsid[] = "$OpenBSD: vwarnx.c,v 1.4 2002/06/08 04:52:55 fgsch Exp $";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
#include <err.h>
#include <stdio.h>
#include <stdarg.h>
+#ifdef __indr_reference
+__indr_reference(_vwarnx, vwarnx);
+#else
+__weak_alias(vwarnx, _vwarnx);
+#endif
+
extern char *__progname; /* Program name, from crt0. */
void