[libc-commits] [libc] stdlib.yaml: qsort_r() is in POSIX 2024 (aka issue 8). (PR #138572)

via libc-commits libc-commits at lists.llvm.org
Mon May 5 13:11:10 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: None (enh-google)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/138572.diff


1 Files Affected:

- (modified) libc/include/stdlib.yaml (+1-1) 


``````````diff
diff --git a/libc/include/stdlib.yaml b/libc/include/stdlib.yaml
index 5690a942e2570..61342234b7193 100644
--- a/libc/include/stdlib.yaml
+++ b/libc/include/stdlib.yaml
@@ -158,7 +158,7 @@ functions:
       - type: __qsortcompare_t
   - name: qsort_r
     standards:
-      - GNUExtensions
+      - posix
     return_type: void
     arguments:
       - type: void *

``````````

</details>


https://github.com/llvm/llvm-project/pull/138572


More information about the libc-commits mailing list