changeset 11831:60a86ea77948

Revert "Avoid compilation error on NetBSD 5.0." This reverts commit b8521e81e705f88784e7a6709bcd6c5a3ea440e0.
author Eric Blake <ebb9@byu.net>
date Wed, 12 Aug 2009 08:31:14 -0600
parents 2e5821b6f988
children ff3dd373542b
files tests/test-locale.c tests/test-stdio.c tests/test-stdlib.c tests/test-string.c tests/test-unistd.c
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-locale.c
+++ b/tests/test-locale.c
@@ -35,7 +35,7 @@
 
 /* Check that NULL can be passed through varargs as a pointer type,
    per POSIX 2008.  */
-verify (sizeof (NULL) == sizeof (void *));
+verify (sizeof NULL == sizeof (void *));
 
 int
 main ()
--- a/tests/test-stdio.c
+++ b/tests/test-stdio.c
@@ -27,7 +27,7 @@
 
 /* Check that NULL can be passed through varargs as a pointer type,
    per POSIX 2008.  */
-verify (sizeof (NULL) == sizeof (void *));
+verify (sizeof NULL == sizeof (void *));
 
 int
 main ()
--- a/tests/test-stdlib.c
+++ b/tests/test-stdlib.c
@@ -26,7 +26,7 @@
 
 /* Check that NULL can be passed through varargs as a pointer type,
    per POSIX 2008.  */
-verify (sizeof (NULL) == sizeof (void *));
+verify (sizeof NULL == sizeof (void *));
 
 int
 main ()
--- a/tests/test-string.c
+++ b/tests/test-string.c
@@ -24,7 +24,7 @@
 
 /* Check that NULL can be passed through varargs as a pointer type,
    per POSIX 2008.  */
-verify (sizeof (NULL) == sizeof (void *));
+verify (sizeof NULL == sizeof (void *));
 
 int
 main ()
--- a/tests/test-unistd.c
+++ b/tests/test-unistd.c
@@ -24,7 +24,7 @@
 
 /* Check that NULL can be passed through varargs as a pointer type,
    per POSIX 2008.  */
-verify (sizeof (NULL) == sizeof (void *));
+verify (sizeof NULL == sizeof (void *));
 
 /* Check that the various SEEK_* macros are defined.  */
 int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET };