Skip to content

Commit 25238b7

Browse files
alexprabhat99github-actions[bot]
authored andcommitted
Automerge: [libc] change return type of pthread_setspecific to int in generated header (#124072)
Fixes: #124032
2 parents 01890ed + 6045146 commit 25238b7

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)