projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regex: avoid glibc deadlock during configure
[gnulib.git]
/
tests
/
test-time.c
diff --git
a/tests/test-time.c
b/tests/test-time.c
index
4afa3b3
..
c060136
100644
(file)
--- a/
tests/test-time.c
+++ b/
tests/test-time.c
@@
-1,5
+1,5
@@
/* Test of <time.h> substitute.
/* Test of <time.h> substitute.
- Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009
-2013
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
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"
#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 <time.h> 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. */
/* Check that NULL can be passed through varargs as a pointer type,
per POSIX 2008. */