Sign in
cos
/
third_party
/
kernel
/
5384c5015506de785504eb25ef668d31431786e5
/
.
/
tools
/
include
/
linux
/
zalloc.h
blob: 81099c84043f6b782af7e954896584a7bff62c77 [
file
] [
log
] [
blame
]
// 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