From 9222a64f2e86db0d94b977d79c274d1d07003b0a Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 23:23:22 -0500 Subject: update to 1:1 checked functions --- src/threads/cnd_wait.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/threads/cnd_wait.c') diff --git a/src/threads/cnd_wait.c b/src/threads/cnd_wait.c index 577ffa5f..dc929573 100644 --- a/src/threads/cnd_wait.c +++ b/src/threads/cnd_wait.c @@ -9,6 +9,8 @@ int cnd_wait(cnd_t *cond, mtx_t *mtx) return pthread_cond_wait(cond, mtx) == 0 ? thrd_success : thrd_error; } +__check_2(int, 0, cnd_wait, cnd_t *, mtx_t *) + /* STDC(201112) */ -- cgit v1.2.1