86 Star 471 Fork 273

GVPopenEuler / iSulad

 / 详情

【静态类代码检查】禁止在extern "C"中包含头文件

已完成
缺陷
创建于  
2023-05-26 18:05

您好,我是MaJun平台负责人,检测到src/daemon/common/cgroup.h文件的22行存在 严重 问题:在extern "C"中包含了多个头文件。
文件路径:
src/daemon/common/cgroup.h
输入图片说明
修改建议:
错误示例:

extern "C"
{
    #include "xxx.h"
    ...
}

正确示例:

#include "xxx.h"
extern "C"
{
    ...
}

评论 (1)

atlas.w 创建了缺陷

Hi xiaojun_w, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: iSulad, and any of the maintainers: @haomintsai , @lifeng_isula , @JingWoo , @haozi007 , @jingxiaolu

openeuler-ci-bot 添加了
 
sig/iSulad
标签
zhongtao 通过openeuler/iSulad Pull Request !2032任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/iSulad.git
git@gitee.com:openeuler/iSulad.git
openeuler
iSulad
iSulad

搜索帮助

53164aa7 5694891 3bd8fe86 5694891