summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-10-28 21:50:30 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-02-27 21:09:16 +0200
commitb6dc0724315798a666573bda02b213110b8016b3 (patch)
treecf2f95bf9c0cfafc1197f007deae4a476b1ba062
parent2f8fc3e2979815c2e8a1dcda375cf219b253555e (diff)
don't make our own definition for NULL, use the kernel's definition (since we only use this code in kernel modules)
git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@37 537310ab-6354-42db-a3cc-247b777f7be6
-rw-r--r--software/include/octtype.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/software/include/octtype.h b/software/include/octtype.h
index c8f46d4..9cba68f 100644
--- a/software/include/octtype.h
+++ b/software/include/octtype.h
@@ -140,9 +140,7 @@ typedef unsigned int * PUINT;
typedef PSZ * PPSZ;
-#ifndef NULL
-#define NULL 0
-#endif
+#include <linux/stddef.h>
#endif