aboutsummaryrefslogtreecommitdiff
path: root/src/thread/cnd_timedwait.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/cnd_timedwait.c')
-rw-r--r--src/thread/cnd_timedwait.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/cnd_timedwait.c b/src/thread/cnd_timedwait.c
index 2802af52..0d010107 100644
--- a/src/thread/cnd_timedwait.c
+++ b/src/thread/cnd_timedwait.c
@@ -12,3 +12,11 @@ int cnd_timedwait(cnd_t *restrict c, mtx_t *restrict m, const struct timespec *r
case ETIMEDOUT: return thrd_timedout;
}
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif