summaryrefslogtreecommitdiff
path: root/src/threads/thrd_detach.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 23:23:22 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 23:23:22 -0500
commit9222a64f2e86db0d94b977d79c274d1d07003b0a (patch)
tree0d3952b0a30ab85c3fc112d1d10e2391c1be4256 /src/threads/thrd_detach.c
parent2a381114dae8832b6ce9459e769533164bb6e4ec (diff)
update to 1:1 checked functions
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)
*/