Skip to content

Commit 6045146

Browse files
[libc] change return type of pthread_setspecific to int in generated header (#124072)
Fixes: #124032
1 parent e0cd57d commit 6045146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/include/pthread.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ functions:
402402
- name: pthread_setspecific
403403
standards:
404404
- POSIX
405-
return_type: void *
405+
return_type: int
406406
arguments:
407407
- type: pthread_key_t
408408
- type: const void *

0 commit comments

Comments
 (0)