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