aboutsummaryrefslogtreecommitdiff
path: root/src/thread/mtx_unlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/mtx_unlock.c')
-rw-r--r--src/thread/mtx_unlock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/mtx_unlock.c b/src/thread/mtx_unlock.c
index 2e5c8cf6..a8e99d57 100644
--- a/src/thread/mtx_unlock.c
+++ b/src/thread/mtx_unlock.c
@@ -8,3 +8,11 @@ int mtx_unlock(mtx_t *mtx)
* assume it does not return an error and simply tail call. */
return __pthread_mutex_unlock((pthread_mutex_t *)mtx);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif