Skip to content

Commit

Permalink
always define NULL as (void *)0, not just 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Oct 22, 2003
1 parent 5eda1ce commit 77c476d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbsd/sys/sys/null.h
Expand Up @@ -2,7 +2,7 @@

#ifndef NULL
#if !defined(__GNUG__) || __GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 90)
#if !defined(_KERNEL) && !defined(__cplusplus)
#if !defined(__cplusplus)
#define NULL (void *)0
#else
#define NULL 0
Expand Down

0 comments on commit 77c476d

Please sign in to comment.