提交 d1a1f889 编写于 作者: L Liberation 提交者: NEEN

!112 缺少头文件

* 更新文档导入头文件stdio.h
上级 c3ddca61
......@@ -29,6 +29,7 @@ The source code needs to be modified when fixing bugs or compiling a new service
Create the service entry function **HelloWorld** in **hello\_world.c** and implement service logic. Use the SYS\_RUN\(\) of the OpenHarmony **bootstrap** module to start services. \(**SYS\_RUN** is defined in the **ohos\_init.h** file.\)
```
#include <stdio.h>
#include "ohos_init.h"
#include "ohos_types.h"
......
......@@ -29,6 +29,7 @@ bugfix和新增业务两种情况,涉及源码修改。下面以新增业务
在hello\_world.c中新建业务入口函数HelloWorld,并实现业务逻辑。并在代码最下方,使用OpenHarmony启动恢复模块接口SYS\_RUN\(\)启动业务。(SYS\_RUN定义在ohos\_init.h文件中)
```
#include <stdio.h>
#include "ohos_init.h"
#include "ohos_types.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册