From b1c67d073c25de2adf3142ab83e9ae0be1019f53 Mon Sep 17 00:00:00 2001 From: enh-google Date: Mon, 5 May 2025 16:09:58 -0400 Subject: [PATCH 1/2] stdlib.yaml: qsort_r() is in POSIX 2024 (aka issue 8). --- libc/include/stdlib.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 * From 39ec9c55050153db54808f6a3e34a363a49ad185 Mon Sep 17 00:00:00 2001 From: enh-google Date: Tue, 6 May 2025 09:14:44 -0400 Subject: [PATCH 2/2] Update stdlib.yaml --- libc/include/stdlib.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/include/stdlib.yaml b/libc/include/stdlib.yaml index 61342234b7193..f7155ba27a162 100644 --- a/libc/include/stdlib.yaml +++ b/libc/include/stdlib.yaml @@ -158,7 +158,7 @@ functions: - type: __qsortcompare_t - name: qsort_r standards: - - posix + - POSIX return_type: void arguments: - type: void *