[clang] e288577 - [libc] Fix function that wasn't updated in wrapper headers
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 7 08:31:07 PDT 2025
Author: Joseph Huber
Date: 2025-04-07T10:30:58-05:00
New Revision: e2885772f05ddf9d81c54c5489801108838ca053
URL: https://github.com/llvm/llvm-project/commit/e2885772f05ddf9d81c54c5489801108838ca053
DIFF: https://github.com/llvm/llvm-project/commit/e2885772f05ddf9d81c54c5489801108838ca053.diff
LOG: [libc] Fix function that wasn't updated in wrapper headers
Added:
Modified:
clang/lib/Headers/llvm_libc_wrappers/stdlib.h
Removed:
################################################################################
diff --git a/clang/lib/Headers/llvm_libc_wrappers/stdlib.h b/clang/lib/Headers/llvm_libc_wrappers/stdlib.h
index 69afdf4a6897e..1da22abd0bc48 100644
--- a/clang/lib/Headers/llvm_libc_wrappers/stdlib.h
+++ b/clang/lib/Headers/llvm_libc_wrappers/stdlib.h
@@ -25,7 +25,7 @@
// The LLVM C library uses these named types so we forward declare them.
typedef void (*__atexithandler_t)(void);
-typedef int (*__bsearchcompare_t)(const void *, const void *);
+typedef int (*__search_compare_t)(const void *, const void *);
typedef int (*__qsortcompare_t)(const void *, const void *);
typedef int (*__qsortrcompare_t)(const void *, const void *, void *);
More information about the cfe-commits
mailing list