summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2011-04-12 21:39:22 +0000
committermiod <miod@openbsd.org>2011-04-12 21:39:22 +0000
commita0779848b89d1b0b564af38481969417e1ad63cc (patch)
tree8288aab680a17c2e15eba20200a3d78933536685
parentA few, hopefully last, NULL-as-an-integer misuses. (diff)
downloadwireguard-openbsd-a0779848b89d1b0b564af38481969417e1ad63cc.tar.xz
wireguard-openbsd-a0779848b89d1b0b564af38481969417e1ad63cc.zip
No longer special-case NULL as a long for kernel and bootblocks.
-rw-r--r--sys/sys/param.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index df9cd405dbf..da7838d91fc 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.90 2011/04/06 11:39:44 miod Exp $ */
+/* $OpenBSD: param.h,v 1.91 2011/04/12 21:39:22 miod Exp $ */
/* $NetBSD: param.h,v 1.23 1996/03/17 01:02:29 thorpej Exp $ */
/*-
@@ -48,13 +48,9 @@
#ifdef __GNUG__
#define NULL __null
#else
-#if defined(_KERNEL) || defined(_STANDALONE)
-#define NULL 0L
-#else
#define NULL ((void *)0)
#endif
#endif
-#endif
#ifndef _LOCORE
#include <sys/types.h>