summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-12-08 08:18:37 +0000
committerderaadt <deraadt@openbsd.org>2002-12-08 08:18:37 +0000
commitb814049f656399b403beaf506d6a58a36d67049b (patch)
treeda7ee7670ef89c6fca9ece30f424c5f7e18e9c13
parentBSD getopt() supports '-' in the optstring so we should too. (diff)
downloadwireguard-openbsd-b814049f656399b403beaf506d6a58a36d67049b.tar.xz
wireguard-openbsd-b814049f656399b403beaf506d6a58a36d67049b.zip
compile non-DIAGNOSTIC kernels
-rw-r--r--sys/kern/subr_extent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c
index ceac1073ebe..7d4d48b4da8 100644
--- a/sys/kern/subr_extent.c
+++ b/sys/kern/subr_extent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_extent.c,v 1.24 2002/12/08 04:22:33 art Exp $ */
+/* $OpenBSD: subr_extent.c,v 1.25 2002/12/08 08:18:37 deraadt Exp $ */
/* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */
/*-
@@ -92,7 +92,9 @@ static LIST_HEAD(listhead, extent) ext_list;
static void
extent_register(struct extent *ex)
{
+#ifdef DIAGNOSTIC
struct extent *ep;
+#endif
static int initialized;
if (!initialized){