Re: don't "fix" ((void *)0) to 0 (PR 48851)

2011-10-25 Thread Mike Stump
On Oct 22, 2011, at 6:48 PM, Jonathan Gray wrote: > fixincludes was changing the definition of > NULL on OpenBSD from > > #ifndef NULL > #ifdef __GNUG__ > #define NULL__null > #else > #define NULL((void *)0) > #endif > #endif > > to > > #ifndef NULL > #ifdef __GNUG__ > #define NULL

don't "fix" ((void *)0) to 0 (PR 48851)

2011-10-22 Thread Jonathan Gray
fixincludes was changing the definition of NULL on OpenBSD from #ifndef NULL #ifdef __GNUG__ #define NULL__null #else #define NULL((void *)0) #endif #endif to #ifndef NULL #ifdef __GNUG__ #define NULL__null #else #define NULL 0 #endif #endif Posting the proposed fix from Mike in