From 3e930225dbe2078ba2efb0e20e0e253d15251c1f Mon Sep 17 00:00:00 2001 From: wangyongzhong2 Date: Thu, 24 Mar 2022 17:42:49 +0800 Subject: [PATCH] code refine 0324 Signed-off-by: wangyongzhong2 --- frameworks/datatransmitmgr/dev_slinfo_adpt.c | 2 +- interfaces/innerkits/datatransmitmgr/include/dev_slinfo_adpt.h | 2 +- test/unittest/datatransmitmgr/DevSLMgrTest.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/datatransmitmgr/dev_slinfo_adpt.c b/frameworks/datatransmitmgr/dev_slinfo_adpt.c index 51ea95b..a7b4182 100644 --- a/frameworks/datatransmitmgr/dev_slinfo_adpt.c +++ b/frameworks/datatransmitmgr/dev_slinfo_adpt.c @@ -101,7 +101,7 @@ static int32_t InitDeviceSecEnv(void) return DEVSL_SUCCESS; } -int32_t StartDevslEnv() +int32_t StartDevslEnv(void) { DATA_SEC_LOG_INFO("Enter InitDeviceSecEnv..."); int32_t ret = InitDeviceSecEnv(); diff --git a/interfaces/innerkits/datatransmitmgr/include/dev_slinfo_adpt.h b/interfaces/innerkits/datatransmitmgr/include/dev_slinfo_adpt.h index 9ecbef8..baca82b 100644 --- a/interfaces/innerkits/datatransmitmgr/include/dev_slinfo_adpt.h +++ b/interfaces/innerkits/datatransmitmgr/include/dev_slinfo_adpt.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021-2022 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/test/unittest/datatransmitmgr/DevSLMgrTest.cpp b/test/unittest/datatransmitmgr/DevSLMgrTest.cpp index f53734e..96f0e8e 100644 --- a/test/unittest/datatransmitmgr/DevSLMgrTest.cpp +++ b/test/unittest/datatransmitmgr/DevSLMgrTest.cpp @@ -37,7 +37,7 @@ private: DevSLMgrTest::DevSLMgrTest() {} DevSLMgrTest::~DevSLMgrTest() {} void DevSLMgrTest::SetUpTestCase() {} -void DevSLMgrTest::TearDownTestCase() {}; +void DevSLMgrTest::TearDownTestCase() {} void DevSLMgrTest::SetUp() {} void DevSLMgrTest::TearDown() {} -- Gitee