From: Gurusamy Sarathy Date: Wed, 16 Feb 2000 06:39:06 +0000 (+0000) Subject: avoid warnings due to redefined NULL X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=93f5e7930f4f44ae4b7ce9bfcadef5646332c81c;p=p5sagit%2Fp5-mst-13.2.git avoid warnings due to redefined NULL p4raw-id: //depot/perl@5117 --- diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs index e263dfb..150f2ef 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 #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