Revert "Avoid compilation error on NetBSD 5.0."
authorEric Blake <ebb9@byu.net>
Wed, 12 Aug 2009 14:31:14 +0000 (08:31 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 14 Aug 2009 12:45:04 +0000 (06:45 -0600)
This reverts commit b8521e81e705f88784e7a6709bcd6c5a3ea440e0.

tests/test-locale.c
tests/test-stdio.c
tests/test-stdlib.c
tests/test-string.c
tests/test-unistd.c

index 60a50a7..625cc43 100644 (file)
@@ -35,7 +35,7 @@ int a[] =
 
 /* 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 ()
index 41299e2..dcfe38d 100644 (file)
@@ -27,7 +27,7 @@ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET };
 
 /* 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 ()
index 711cfa6..ae46ba1 100644 (file)
@@ -26,7 +26,7 @@ int exitcode;
 
 /* 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 ()
index 688d0d3..fe53cd9 100644 (file)
@@ -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 ()
index e0b8291..129367b 100644 (file)
@@ -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 };