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/mtx_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/threads/mtx_init.c') diff --git a/src/threads/mtx_init.c b/src/threads/mtx_init.c index 56e5196a..43691c3d 100644 --- a/src/threads/mtx_init.c +++ b/src/threads/mtx_init.c @@ -17,6 +17,8 @@ int mtx_init(mtx_t *mtx, int type) return pthread_mutex_init(mtx, &attr) == 0 ? thrd_success : thrd_error; } +__check_2(int, 0, mtx_init, mtx_t *, int) + /* STDC(201112) */ -- cgit v1.2.1