Skip to content

Commit 6666b3f

Browse files
committed
[libc] Match baremetal stdlib.h entrypoints with types
To match the entrypoints and types we need to exclude __atexithandler_t and __qsortrcompare_t, as well as qsort_r, which is a GNU extension. This is a reland of #85030.
1 parent b92d6dd commit 6666b3f

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

libc/config/baremetal/api.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def StdlibAPI : PublicAPI<"stdlib.h"> {
6868
"size_t",
6969
"__bsearchcompare_t",
7070
"__qsortcompare_t",
71-
"__atexithandler_t",
7271
];
7372
}
7473

libc/config/baremetal/arm/entrypoints.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ set(TARGET_LIBC_ENTRYPOINTS
170170
libc.src.stdlib.llabs
171171
libc.src.stdlib.lldiv
172172
libc.src.stdlib.qsort
173-
libc.src.stdlib.qsort_r
174173
libc.src.stdlib.rand
175174
libc.src.stdlib.srand
176175
libc.src.stdlib.strtod

libc/config/baremetal/riscv/entrypoints.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ set(TARGET_LIBC_ENTRYPOINTS
170170
libc.src.stdlib.llabs
171171
libc.src.stdlib.lldiv
172172
libc.src.stdlib.qsort
173-
libc.src.stdlib.qsort_r
174173
libc.src.stdlib.rand
175174
libc.src.stdlib.srand
176175
libc.src.stdlib.strtod

0 commit comments

Comments
 (0)