xref: /OK3568_Linux_fs/kernel/tools/include/linux/zalloc.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 // SPDX-License-Identifier: LGPL-2.1
2 #ifndef __TOOLS_LINUX_ZALLOC_H
3 #define __TOOLS_LINUX_ZALLOC_H
4 
5 #include <stddef.h>
6 
7 void *zalloc(size_t size);
8 void __zfree(void **ptr);
9 
10 #define zfree(ptr) __zfree((void **)(ptr))
11 
12 #endif // __TOOLS_LINUX_ZALLOC_H
13