X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-time.c;h=d499a5ca165f2f3ef895d7c1bac4e42ec5d3cc86;hb=60573660307a386a933de834a06c37691120e507;hp=0c78f36c663ae20f06224cb60b196480c38b749c;hpb=d599e5add275f75ed08e6527b8ee4d3f4f7c3aea;p=gnulib.git diff --git a/tests/test-time.c b/tests/test-time.c index 0c78f36c6..d499a5ca1 100644 --- a/tests/test-time.c +++ b/tests/test-time.c @@ -22,7 +22,13 @@ #include "verify.h" -struct timespec a; +/* Check that the types are all defined. */ +struct timespec t1; +#if 0 +/* POSIX:2008 does not require pid_t in unconditionally, and indeed + it's missing on MacOS X 10.5, FreeBSD 6.4, OpenBSD 4.9, mingw. */ +pid_t t2; +#endif /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */