Description:Code optimization

Feature or Bugfix:Bugfix
Binary Source:No

Signed-off-by: lwx1281857 <linnanmu@h-partners.com>
This commit is contained in:
lwx1281857 2024-11-14 14:53:07 +08:00
parent 307f50f301
commit 793a3dcc97
3 changed files with 15 additions and 14 deletions

View File

@ -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
/** @} */

View File

@ -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 <stdbool.h>
#ifdef __cplusplus
@ -49,5 +49,5 @@ bool canIUse(const char *cap);
}
#endif
#endif
/** @} */
#endif
/** @} */

View File

@ -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
/** @} */