summaryrefslogtreecommitdiff
path: root/tests/mutex1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mutex1.c')
-rw-r--r--tests/mutex1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/mutex1.c b/tests/mutex1.c
index 087483d..27e2a82 100644
--- a/tests/mutex1.c
+++ b/tests/mutex1.c
@@ -9,9 +9,12 @@
pthread_mutex_t mutex1;
+int
main()
{
pthread_mutex_init(&mutex1, NULL);
pthread_mutex_lock(&mutex1);
pthread_mutex_unlock(&mutex1);
+
+ return 0;
}