Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
c9b53fd6
S
Startup Init Lite
项目概览
OpenHarmony
/
Startup Init Lite
1 年多 前同步成功
通知
3
Star
37
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Startup Init Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
c9b53fd6
编写于
1月 26, 2022
作者:
O
openharmony_ci
提交者:
Gitee
1月 26, 2022
浏览文件
操作
浏览文件
下载
差异文件
!267 fix: compile warnning
Merge pull request !267 from 熊磊/init125_2
上级
9ad2c6ab
740e870e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
5 deletion
+8
-5
services/init/lite/init.c
services/init/lite/init.c
+2
-1
services/loopevent/BUILD.gn
services/loopevent/BUILD.gn
+2
-2
services/utils/BUILD.gn
services/utils/BUILD.gn
+2
-0
watchdog/BUILD.gn
watchdog/BUILD.gn
+2
-2
未找到文件。
services/init/lite/init.c
浏览文件 @
c9b53fd6
...
...
@@ -13,8 +13,9 @@
* limitations under the License.
*/
#include "init.h"
#include "init_
log
.h"
#include "init_
group_manager
.h"
#include "init_jobs_internal.h"
#include "init_log.h"
#include "init_utils.h"
#ifndef __LINUX__
#include "init_stage.h"
...
...
services/loopevent/BUILD.gn
浏览文件 @
c9b53fd6
...
...
@@ -42,7 +42,7 @@ if (defined(ohos_lite)) {
sources = common_sources
include_dirs = common_include
defines = [ "_GNU_SOURCE" ]
deps = [
"//base/startup/init_lite/services/log:init_log",
"//base/startup/init_lite/services/utils:libinit_tools",
...
...
@@ -56,7 +56,7 @@ if (defined(ohos_lite)) {
sources = common_sources
include_dirs = common_include
defines = [ "_GNU_SOURCE" ]
deps = [
"//base/startup/init_lite/services/log:init_log",
"//base/startup/init_lite/services/utils:libinit_tools",
...
...
services/utils/BUILD.gn
浏览文件 @
c9b53fd6
...
...
@@ -29,6 +29,7 @@ if (defined(ohos_lite)) {
"//base/startup/init_lite/services/log:init_log",
"//third_party/bounds_checking_function:libsec_static",
]
defines = [ "_GNU_SOURCE" ]
}
} else {
import("//build/ohos.gni")
...
...
@@ -50,6 +51,7 @@ if (defined(ohos_lite)) {
"//base/startup/init_lite/services/log:init_log",
"//third_party/bounds_checking_function:libsec_static",
]
defines = [ "_GNU_SOURCE" ]
part_name = "init"
}
...
...
watchdog/BUILD.gn
浏览文件 @
c9b53fd6
...
...
@@ -23,9 +23,9 @@ if (defined(ohos_lite)) {
"//base/startup/init_lite/interfaces/innerkits/include",
]
deps = [ "//base/startup/init_lite/services/log:init_log" ]
defines = [ "_GNU_SOURCE" ]
if (ohos_kernel_type == "linux") {
defines = [ "LINUX_WATCHDOG" ]
defines += [ "_GNU_SOURCE" ]
defines += [ "LINUX_WATCHDOG" ]
}
}
} else {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录