summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-10-25 21:55:29 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-10-25 21:55:29 +0000
commit75a1785748733af3b8be900e11023bcc467e0e67 (patch)
tree248ebd5d9e223baa17bfd3b5cee4692542ab8ed1 /include/unistd.h
parentbab1d726ab6cfb2705e230159e33b3fa66e98fef (diff)
NULL is now 0L so it is the same size as a pointer.
OK mickey@ and discussed with deraadt@
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 20297b80626..a8305e4ebcf 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unistd.h,v 1.42 2002/09/17 21:15:58 deraadt Exp $ */
+/* $OpenBSD: unistd.h,v 1.43 2002/10/25 21:55:28 millert Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*-
@@ -51,7 +51,7 @@
#ifdef __GNUG__
#define NULL __null
#else
-#define NULL 0 /* null pointer constant */
+#define NULL 0L
#endif
#endif