summaryrefslogtreecommitdiff
path: root/ext/ODBM_File
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-16 06:39:06 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-16 06:39:06 +0000
commit93f5e7930f4f44ae4b7ce9bfcadef5646332c81c (patch)
tree198865a83f201e58e855ffb9ee72dc40729fe1ea /ext/ODBM_File
parent95844e6ca149c986bbccd3b8c20759baaf024a41 (diff)
downloadperl-93f5e7930f4f44ae4b7ce9bfcadef5646332c81c.tar.gz
avoid warnings due to redefined NULL
p4raw-id: //depot/perl@5117
Diffstat (limited to 'ext/ODBM_File')
-rw-r--r--ext/ODBM_File/ODBM_File.xs7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs
index e263dfbc62..150f2ef894 100644
--- a/ext/ODBM_File/ODBM_File.xs
+++ b/ext/ODBM_File/ODBM_File.xs
@@ -2,9 +2,6 @@
#include "perl.h"
#include "XSUB.h"
-#ifdef NULL
-#undef NULL /* XXX Why? */
-#endif
#ifdef I_DBM
# include <dbm.h>
#else
@@ -76,10 +73,6 @@ static int dbmrefcnt;
MODULE = ODBM_File PACKAGE = ODBM_File PREFIX = odbm_
-#ifndef NULL
-# define NULL 0
-#endif
-
ODBM_File
odbm_TIEHASH(dbtype, filename, flags, mode)
char * dbtype