summaryrefslogtreecommitdiff
path: root/include/dirent.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/dirent.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/dirent.h')
-rw-r--r--include/dirent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 45392a7d20c..8884da63f56 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dirent.h,v 1.8 2002/02/17 19:42:21 millert Exp $ */
+/* $OpenBSD: dirent.h,v 1.9 2002/10/25 21:55:28 millert Exp $ */
/* $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ */
/*-
@@ -85,7 +85,7 @@ typedef struct _dirdesc {
#ifdef __GNUG__
#define NULL __null
#else
-#define NULL 0
+#define NULL 0L
#endif
#endif