xref: /llvm-project/libc/src/stdlib/realloc.h (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
1005758ebSPiJoules //===-- Implementation header for realloc -----------------------*- C++ -*-===//
2005758ebSPiJoules //
3005758ebSPiJoules // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4005758ebSPiJoules // See https://llvm.org/LICENSE.txt for license information.
5005758ebSPiJoules // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6005758ebSPiJoules //
7005758ebSPiJoules //===----------------------------------------------------------------------===//
8005758ebSPiJoules 
9*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
10005758ebSPiJoules #include <stddef.h>
11005758ebSPiJoules 
12005758ebSPiJoules #ifndef LLVM_LIBC_SRC_STDLIB_REALLOC_H
13005758ebSPiJoules #define LLVM_LIBC_SRC_STDLIB_REALLOC_H
14005758ebSPiJoules 
15*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
16005758ebSPiJoules 
17005758ebSPiJoules void *realloc(void *ptr, size_t size);
18005758ebSPiJoules 
19*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
20005758ebSPiJoules 
21005758ebSPiJoules #endif // LLVM_LIBC_SRC_STDLIB_REALLOC_H
22