Module Name:    src
Committed By:   snj
Date:           Sun Mar 21 03:45:33 UTC 2010

Modified Files:
        src/sys/sys [netbsd-5]: null.h

Log Message:
Pull up following revision(s) (requested by joerg in ticket #1344):
        sys/sys/null.h: revision 1.8
Enclose (void *)0 in an extra set of parenthese to make the result usable
in arbitrary expressions.
Fixes PR/41890, I can't think of any downsides!


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.86.1 src/sys/sys/null.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/null.h
diff -u src/sys/sys/null.h:1.7 src/sys/sys/null.h:1.7.86.1
--- src/sys/sys/null.h:1.7	Sat Dec  3 17:10:46 2005
+++ src/sys/sys/null.h	Sun Mar 21 03:45:33 2010
@@ -1,11 +1,11 @@
-/*	$NetBSD: null.h,v 1.7 2005/12/03 17:10:46 christos Exp $	*/
+/*	$NetBSD: null.h,v 1.7.86.1 2010/03/21 03:45:33 snj Exp $	*/
 
 #ifndef _SYS_NULL_H_
 #define _SYS_NULL_H_
 #ifndef	NULL
 #if !defined(__GNUG__) || __GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 90)
 #if !defined(__cplusplus)
-#define	NULL	(void *)0
+#define	NULL	((void *)0)
 #else
 #define	NULL	0
 #endif /* !__cplusplus */

Reply via email to