diff --git a/startup/init/syscap/include/deviceinfo.h b/startup/init/syscap/include/deviceinfo.h index 0725cd540..05f1bbd2b 100644 --- a/startup/init/syscap/include/deviceinfo.h +++ b/startup/init/syscap/include/deviceinfo.h @@ -13,9 +13,6 @@ * limitations under the License. */ -#ifndef DEVICEINFO_CSDK_H -#define DEVICEINFO_CSDK_H - /** * @addtogroup DeviceInfo * @{ @@ -34,6 +31,9 @@ * @since 10 */ +#ifndef DEVICEINFO_CSDK_H +#define DEVICEINFO_CSDK_H + #ifdef __cplusplus #if __cplusplus extern "C" { @@ -245,5 +245,5 @@ const char *OH_GetDistributionOSReleaseType(void); } #endif #endif -/** @} */ #endif +/** @} */ diff --git a/startup/init/syscap/include/syscap_ndk.h b/startup/init/syscap/include/syscap_ndk.h index d821c3a35..590e70eab 100644 --- a/startup/init/syscap/include/syscap_ndk.h +++ b/startup/init/syscap/include/syscap_ndk.h @@ -13,9 +13,6 @@ * limitations under the License. */ -#ifndef SYSCAP_NDK_H -#define SYSCAP_NDK_H - /** * @addtogroup SyscapNdk * @{ @@ -29,11 +26,14 @@ * @file deviceinfo.h * @kit BasicServicesKit * @brief Declares APIs for acquiring the set of system capabilities . - * @library na + * @library NA * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ +#ifndef SYSCAP_NDK_H +#define SYSCAP_NDK_H + #include #ifdef __cplusplus @@ -49,5 +49,5 @@ bool canIUse(const char *cap); } #endif #endif +#endif /** @} */ -#endif \ No newline at end of file diff --git a/startup/init/syscap/init_sync.h b/startup/init/syscap/init_sync.h index ca4836b27..4ddd56808 100644 --- a/startup/init/syscap/init_sync.h +++ b/startup/init/syscap/init_sync.h @@ -13,9 +13,6 @@ * limitations under the License. */ -#ifndef BASE_STARTUP_INITLITE_NOTIFY_H -#define BASE_STARTUP_INITLITE_NOTIFY_H - /** * @addtogroup InitSync * @{ @@ -29,11 +26,14 @@ * @file init_sync.h * @kit BasicServicesKit * @brief Declares APIs for notifying events to the Init process. - * @library na + * @library NA * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ +#ifndef BASE_STARTUP_INITLITE_NOTIFY_H +#define BASE_STARTUP_INITLITE_NOTIFY_H + #ifdef __cplusplus #if __cplusplus extern "C" { @@ -63,5 +63,6 @@ extern int NotifyInit(unsigned long event); } #endif #endif -/** @} */ + #endif // BASE_STARTUP_INITLITE_NOTIFY_H +/** @} */