From: Eric Blake Date: Wed, 12 Aug 2009 14:31:14 +0000 (-0600) Subject: Revert "Avoid compilation error on NetBSD 5.0." X-Git-Tag: v0.1~5656 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=45acfcce8abb52fa5b26729646ee4b7fde856cca;p=gnulib.git Revert "Avoid compilation error on NetBSD 5.0." This reverts commit b8521e81e705f88784e7a6709bcd6c5a3ea440e0. --- diff --git a/tests/test-locale.c b/tests/test-locale.c index 60a50a719..625cc43d8 100644 --- a/tests/test-locale.c +++ b/tests/test-locale.c @@ -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 () diff --git a/tests/test-stdio.c b/tests/test-stdio.c index 41299e215..dcfe38dd5 100644 --- a/tests/test-stdio.c +++ b/tests/test-stdio.c @@ -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 () diff --git a/tests/test-stdlib.c b/tests/test-stdlib.c index 711cfa631..ae46ba166 100644 --- a/tests/test-stdlib.c +++ b/tests/test-stdlib.c @@ -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 () diff --git a/tests/test-string.c b/tests/test-string.c index 688d0d31c..fe53cd9b1 100644 --- 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 () diff --git a/tests/test-unistd.c b/tests/test-unistd.c index e0b82918a..129367b4d 100644 --- 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 };