diff --git a/libc/hdr/func/aligned_alloc.h b/libc/hdr/func/aligned_alloc.h index 3c197f4671a7..b3436dfee1f2 100644 --- a/libc/hdr/func/aligned_alloc.h +++ b/libc/hdr/func/aligned_alloc.h @@ -11,11 +11,7 @@ #ifdef LIBC_FULL_BUILD #include "hdr/types/size_t.h" -#ifdef __cplusplus -extern "C" void *aligned_alloc(size_t, size_t) noexcept; -#else extern "C" void *aligned_alloc(size_t, size_t); -#endif #else // Overlay mode diff --git a/libc/hdr/stdint_proxy.h b/libc/hdr/stdint_proxy.h index d5c600d5a28b..8e815679a4e2 100644 --- a/libc/hdr/stdint_proxy.h +++ b/libc/hdr/stdint_proxy.h @@ -13,10 +13,6 @@ // that is `libc.include.stdint` is added to the dependency of all targets // that use header. -#ifdef LIBC_FULL_BUILD -#include "include/llvm-libc-macros/stdint-macros.h" -#else #include -#endif #endif // LLVM_LIBC_HDR_STDINT_PROXY_H