aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_mutex_trylock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_mutex_trylock.c')
-rw-r--r--src/thread/pthread_mutex_trylock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_mutex_trylock.c b/src/thread/pthread_mutex_trylock.c
index a24e7c58..c9a2e9f6 100644
--- a/src/thread/pthread_mutex_trylock.c
+++ b/src/thread/pthread_mutex_trylock.c
@@ -72,3 +72,11 @@ int __pthread_mutex_trylock(pthread_mutex_t *m)
}
weak_alias(__pthread_mutex_trylock, pthread_mutex_trylock);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif