13eebeb7eSPiJoules //===-- Implementation header for aligned_alloc -----------------*- C++ -*-===// 23eebeb7eSPiJoules // 33eebeb7eSPiJoules // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 43eebeb7eSPiJoules // See https://llvm.org/LICENSE.txt for license information. 53eebeb7eSPiJoules // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 63eebeb7eSPiJoules // 73eebeb7eSPiJoules //===----------------------------------------------------------------------===// 83eebeb7eSPiJoules 9*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 103eebeb7eSPiJoules #include <stddef.h> 113eebeb7eSPiJoules 123eebeb7eSPiJoules #ifndef LLVM_LIBC_SRC_STDLIB_ALIGNED_ALLOC_H 133eebeb7eSPiJoules #define LLVM_LIBC_SRC_STDLIB_ALIGNED_ALLOC_H 143eebeb7eSPiJoules 15*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 163eebeb7eSPiJoules 173eebeb7eSPiJoules void *aligned_alloc(size_t alignment, size_t size); 183eebeb7eSPiJoules 19*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 203eebeb7eSPiJoules 213eebeb7eSPiJoules #endif // LLVM_LIBC_SRC_STDLIB_ALIGNED_ALLOC_H 22