X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Ftest-time.c;h=cb39c3bbb7c2efdbe0c8fa0b3460ad403dd5e0d1;hb=refs%2Ftags%2Fupstream%2F4.5.14;hp=0c78f36c663ae20f06224cb60b196480c38b749c;hpb=50bfcfef0d98d8bfdb8a7ed7afbd6d494098a3c3;p=platform%2Fupstream%2Ffindutils.git diff --git a/tests/test-time.c b/tests/test-time.c index 0c78f36..cb39c3b 100644 --- a/tests/test-time.c +++ b/tests/test-time.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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 Mac OS 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. */