aboutsummaryrefslogtreecommitdiff
path: root/src/thread/cnd_broadcast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/cnd_broadcast.c')
-rw-r--r--src/thread/cnd_broadcast.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/cnd_broadcast.c b/src/thread/cnd_broadcast.c
index e76b5a81..84fcbb08 100644
--- a/src/thread/cnd_broadcast.c
+++ b/src/thread/cnd_broadcast.c
@@ -7,3 +7,11 @@ int cnd_broadcast(cnd_t *c)
* which matches the value thrd_success is defined with. */
return __private_cond_signal((pthread_cond_t *)c, -1);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif