summaryrefslogtreecommitdiff
path: root/src/threads/mtx_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/mtx_init.c')
-rw-r--r--src/threads/mtx_init.c2
1 files changed, 2 insertions, 0 deletions
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)
*/