From 45acfcce8abb52fa5b26729646ee4b7fde856cca Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 12 Aug 2009 08:31:14 -0600 Subject: [PATCH] Revert "Avoid compilation error on NetBSD 5.0." This reverts commit b8521e81e705f88784e7a6709bcd6c5a3ea440e0. --- tests/test-locale.c | 2 +- tests/test-stdio.c | 2 +- tests/test-stdlib.c | 2 +- tests/test-string.c | 2 +- tests/test-unistd.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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 }; -- 2.11.0