1 // SPDX-License-Identifier: LGPL-2.1 1 // SPDX-License-Identifier: LGPL-2.1 2 #ifndef __TOOLS_LINUX_ZALLOC_H 2 #ifndef __TOOLS_LINUX_ZALLOC_H 3 #define __TOOLS_LINUX_ZALLOC_H 3 #define __TOOLS_LINUX_ZALLOC_H 4 4 5 #include <stddef.h> 5 #include <stddef.h> 6 6 7 void *zalloc(size_t size); 7 void *zalloc(size_t size); 8 void __zfree(void **ptr); 8 void __zfree(void **ptr); 9 9 10 #define zfree(ptr) __zfree((void **)(ptr)) 10 #define zfree(ptr) __zfree((void **)(ptr)) 11 11 12 #endif // __TOOLS_LINUX_ZALLOC_H 12 #endif // __TOOLS_LINUX_ZALLOC_H 13 13
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.