aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_mutexattr_setpshared.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_mutexattr_setpshared.c')
-rw-r--r--src/thread/pthread_mutexattr_setpshared.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_mutexattr_setpshared.c b/src/thread/pthread_mutexattr_setpshared.c
index 100f6ff2..c2a09b48 100644
--- a/src/thread/pthread_mutexattr_setpshared.c
+++ b/src/thread/pthread_mutexattr_setpshared.c
@@ -7,3 +7,11 @@ int pthread_mutexattr_setpshared(pthread_mutexattr_t *a, int pshared)
a->__attr |= pshared<<7;
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif