aboutsummaryrefslogtreecommitdiff
path: root/src/thread/mtx_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/mtx_lock.c')
-rw-r--r--src/thread/mtx_lock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/mtx_lock.c b/src/thread/mtx_lock.c
index 5c2415c1..e2ed1cac 100644
--- a/src/thread/mtx_lock.c
+++ b/src/thread/mtx_lock.c
@@ -10,3 +10,11 @@ int mtx_lock(mtx_t *m)
* for return values. */
return mtx_timedlock(m, 0);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif