aboutsummaryrefslogtreecommitdiff
path: root/src/thread/mtx_trylock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/mtx_trylock.c')
-rw-r--r--src/thread/mtx_trylock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/mtx_trylock.c b/src/thread/mtx_trylock.c
index 40a8b8c2..384d2ce8 100644
--- a/src/thread/mtx_trylock.c
+++ b/src/thread/mtx_trylock.c
@@ -13,3 +13,11 @@ int mtx_trylock(mtx_t *m)
case EBUSY: return thrd_busy;
}
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif