aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_rwlock_wrlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_rwlock_wrlock.c')
-rw-r--r--src/thread/pthread_rwlock_wrlock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_rwlock_wrlock.c b/src/thread/pthread_rwlock_wrlock.c
index 46a3b3a5..d2103d85 100644
--- a/src/thread/pthread_rwlock_wrlock.c
+++ b/src/thread/pthread_rwlock_wrlock.c
@@ -6,3 +6,11 @@ int __pthread_rwlock_wrlock(pthread_rwlock_t *rw)
}
weak_alias(__pthread_rwlock_wrlock, pthread_rwlock_wrlock);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif