public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] pthread_cond_init/s-c.c: Add the lose ifndef line
@ 2020-03-16  2:58 Zou Wei
  2020-03-16  4:31 ` Yang Xu
  2020-03-17  7:14 ` [LTP] " Xiao Yang
  0 siblings, 2 replies; 10+ messages in thread
From: Zou Wei @ 2020-03-16  2:58 UTC (permalink / raw)
  To: ltp

pthread_cond_init/s-c.c testcase lose a #ifndef line, fix it

Reported-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
---
 testcases/open_posix_testsuite/stress/threads/pthread_cond_init/s-c.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/s-c.c b/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/s-c.c
index 6a5c70a..8d18484 100644
--- a/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/s-c.c
+++ b/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/s-c.c
@@ -80,6 +80,7 @@
 /***********************************    Test case   *****************************************/
 /********************************************************************************************/
+#ifndef WITHOUT_XOPEN
 typedef struct _teststruct {
 	pthread_cond_t cnd[10 * SCALABILITY_FACTOR];
 	pthread_condattr_t ca[4];
--
2.6.2


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-03-17  7:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-16  2:58 [LTP] [PATCH] pthread_cond_init/s-c.c: Add the lose ifndef line Zou Wei
2020-03-16  4:31 ` Yang Xu
2020-03-16  7:53   ` Yang Xu
2020-03-17  1:13     ` Enji Cooper
2020-03-17  3:38       ` Yang Xu
2020-03-17  2:08   ` Yang Xu
2020-03-17  3:06     ` [LTP] 答复: " Zouwei
2020-03-17  5:52       ` Xiao Yang
2020-03-17  7:14 ` [LTP] " Xiao Yang
2020-03-17  7:34   ` [LTP] 答复: " Zouwei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox