summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/_warn.c
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2002-06-08 04:52:55 +0000
committerfgsch <fgsch@openbsd.org>2002-06-08 04:52:55 +0000
commitf22f82169c2a252cb777866af2266a76a77c798b (patch)
tree46a8e77f2f2f17c6eed1597db2ecc1112a82369e /lib/libc/gen/_warn.c
parentRemove this horror DIAGNOSTIC define. It was just ugly when it (diff)
downloadwireguard-openbsd-f22f82169c2a252cb777866af2266a76a77c798b.tar.xz
wireguard-openbsd-f22f82169c2a252cb777866af2266a76a77c798b.zip
use weak aliases whenever is possible; millert@ ok.
Diffstat (limited to 'lib/libc/gen/_warn.c')
-rw-r--r--lib/libc/gen/_warn.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/libc/gen/_warn.c b/lib/libc/gen/_warn.c
deleted file mode 100644
index 256dd71555e..00000000000
--- a/lib/libc/gen/_warn.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * J.T. Conklin, December 12, 1994
- * Public Domain
- */
-
-#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: _warn.c,v 1.3 1996/08/19 08:21:36 tholo Exp $";
-#endif /* LIBC_SCCS and not lint */
-
-#include <sys/cdefs.h>
-
-#ifdef __indr_reference
-__indr_reference(_warn, warn);
-#else
-
-#define _warn warn
-#define rcsid _rcsid
-#include "warn.c"
-
-#endif