* 修改编译方式为CMake
* 删除C++适配代码 * 修改编译告警
This commit is contained in:
15
common/rt/include/rt_stdlib.h
Normal file
15
common/rt/include/rt_stdlib.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef __RT_STDLIB_H__
|
||||
#define __RT_STDLIB_H__
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/** memory flags */
|
||||
#define MPF_CLR (1 << 0) /** Clear it after allocated */
|
||||
|
||||
extern void kfree(void *p);
|
||||
|
||||
void *kmalloc(int s, int flags, int __attribute__((__unused__)) node);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user