Xiaohu.Huang | 60a7f2f | 2021-10-25 15:40:57 +0800 | [diff] [blame] | 1 | /* |
yang.li | b06e0a8 | 2022-01-10 17:35:09 +0800 | [diff] [blame] | 2 | * Copyright (c) 2021-2022 Amlogic, Inc. All rights reserved. |
Xiaohu.Huang | 60a7f2f | 2021-10-25 15:40:57 +0800 | [diff] [blame] | 3 | * |
yang.li | b06e0a8 | 2022-01-10 17:35:09 +0800 | [diff] [blame] | 4 | * SPDX-License-Identifier: MIT |
Xiaohu.Huang | 60a7f2f | 2021-10-25 15:40:57 +0800 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #ifndef __AML_MALLOC_H__ | ||||
8 | #define __AML_MALLOC_H__ | ||||
9 | |||||
10 | #ifdef __cplusplus | ||||
11 | extern "C" { | ||||
12 | #endif | ||||
13 | |||||
14 | #include <stddef.h> | ||||
15 | |||||
16 | void *malloc(size_t size); | ||||
17 | |||||
Xiaohu.Huang | 60a7f2f | 2021-10-25 15:40:57 +0800 | [diff] [blame] | 18 | #ifdef __cplusplus |
19 | } | ||||
20 | #endif | ||||
21 | |||||
22 | #endif |