kernel/tools/include/linux/zalloc.h

13 lines
252 B
C
Raw Normal View History

2024-07-22 17:22:30 +08:00
// SPDX-License-Identifier: LGPL-2.1
#ifndef __TOOLS_LINUX_ZALLOC_H
#define __TOOLS_LINUX_ZALLOC_H
#include <stddef.h>
void *zalloc(size_t size);
void __zfree(void **ptr);
#define zfree(ptr) __zfree((void **)(ptr))
#endif // __TOOLS_LINUX_ZALLOC_H