diff --git a/libc/include/pthread.yaml b/libc/include/pthread.yaml index 4f386bdd11cfd..5b27e68d2f2d8 100644 --- a/libc/include/pthread.yaml +++ b/libc/include/pthread.yaml @@ -402,7 +402,7 @@ functions: - name: pthread_setspecific standards: - POSIX - return_type: void * + return_type: int arguments: - type: pthread_key_t - type: const void *