summaryrefslogtreecommitdiff
path: root/src/threads/thrd_detach.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/thrd_detach.c')
-rw-r--r--src/threads/thrd_detach.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/threads/thrd_detach.c b/src/threads/thrd_detach.c
index 03ccb774..1840abee 100644
--- a/src/threads/thrd_detach.c
+++ b/src/threads/thrd_detach.c
@@ -9,6 +9,8 @@ int thrd_detach(thrd_t thr)
return pthread_detach(thr) == 0 ? thrd_success : thrd_error;
}
+__check_1(int, 0, thrd_detach, thrd_t)
+
/*
STDC(201112)
*/