aboutsummaryrefslogtreecommitdiff
path: root/src/thread/mtx_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/mtx_init.c')
-rw-r--r--src/thread/mtx_init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/mtx_init.c b/src/thread/mtx_init.c
index 4826f76b..346d9dee 100644
--- a/src/thread/mtx_init.c
+++ b/src/thread/mtx_init.c
@@ -8,3 +8,11 @@ int mtx_init(mtx_t *m, int type)
};
return thrd_success;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif