[libc-commits] [libc] 6045146 - [libc] change return type of pthread_setspecific to int in generated header (#124072)
via libc-commits
libc-commits at lists.llvm.org
Thu Jan 23 10:01:42 PST 2025
Author: Alex Prabhat Bara
Date: 2025-01-23T10:01:39-08:00
New Revision: 6045146014151a8f63a60612445de9ff6af47626
URL: https://github.com/llvm/llvm-project/commit/6045146014151a8f63a60612445de9ff6af47626
DIFF: https://github.com/llvm/llvm-project/commit/6045146014151a8f63a60612445de9ff6af47626.diff
LOG: [libc] change return type of pthread_setspecific to int in generated header (#124072)
Fixes: #124032
Added:
Modified:
libc/include/pthread.yaml
Removed:
################################################################################
diff --git a/libc/include/pthread.yaml b/libc/include/pthread.yaml
index 4f386bdd11cfd7..5b27e68d2f2d8d 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 *
More information about the libc-commits
mailing list