[libc-commits] [libc] 582a479 - [libc] fix lfind old hdrgen (#115760)
via libc-commits
libc-commits at lists.llvm.org
Mon Nov 11 11:51:27 PST 2024
Author: Nick Desaulniers
Date: 2024-11-11T11:51:24-08:00
New Revision: 582a4799e1fc8e46b5872fdd38369d097bce79f2
URL: https://github.com/llvm/llvm-project/commit/582a4799e1fc8e46b5872fdd38369d097bce79f2
DIFF: https://github.com/llvm/llvm-project/commit/582a4799e1fc8e46b5872fdd38369d097bce79f2.diff
LOG: [libc] fix lfind old hdrgen (#115760)
Fixes: #114692
Added:
Modified:
libc/config/linux/api.td
libc/spec/posix.td
Removed:
################################################################################
diff --git a/libc/config/linux/api.td b/libc/config/linux/api.td
index 46523b4ca4b8df..a00e0f61b90df7 100644
--- a/libc/config/linux/api.td
+++ b/libc/config/linux/api.td
@@ -268,7 +268,7 @@ def SetJmpAPI : PublicAPI<"setjmp.h"> {
}
def SearchAPI : PublicAPI<"search.h"> {
- let Types = ["ACTION", "ENTRY", "struct hsearch_data"];
+ let Types = ["ACTION", "ENTRY", "struct hsearch_data", "__lsearchcompare_t"];
}
def SysStatvfsAPI : PublicAPI<"sys/statvfs.h"> {
diff --git a/libc/spec/posix.td b/libc/spec/posix.td
index d4712dc0c5d701..e354deef340f1b 100644
--- a/libc/spec/posix.td
+++ b/libc/spec/posix.td
@@ -1582,7 +1582,8 @@ def POSIX : StandardSpec<"POSIX"> {
[], // Macros
[
ActionType,
- EntryType
+ EntryType,
+ LSearchCompareT,
], // Types
[], // Enumerations
[
More information about the libc-commits
mailing list