* 修改编译方式为CMake

* 删除C++适配代码
* 修改编译告警
This commit is contained in:
fengweihao
2019-11-05 11:38:40 +08:00
parent 8b089533e9
commit 7192f437e5
237 changed files with 2071 additions and 53674 deletions

View 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