mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-23 06:39:54 +00:00
Description:Code optimization
Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: lwx1281857 <linnanmu@h-partners.com>
This commit is contained in:
parent
307f50f301
commit
793a3dcc97
@ -13,9 +13,6 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DEVICEINFO_CSDK_H
|
|
||||||
#define DEVICEINFO_CSDK_H
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup DeviceInfo
|
* @addtogroup DeviceInfo
|
||||||
* @{
|
* @{
|
||||||
@ -34,6 +31,9 @@
|
|||||||
* @since 10
|
* @since 10
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DEVICEINFO_CSDK_H
|
||||||
|
#define DEVICEINFO_CSDK_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#if __cplusplus
|
#if __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -245,5 +245,5 @@ const char *OH_GetDistributionOSReleaseType(void);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
|
||||||
#endif
|
#endif
|
||||||
|
/** @} */
|
||||||
|
@ -13,9 +13,6 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SYSCAP_NDK_H
|
|
||||||
#define SYSCAP_NDK_H
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup SyscapNdk
|
* @addtogroup SyscapNdk
|
||||||
* @{
|
* @{
|
||||||
@ -29,11 +26,14 @@
|
|||||||
* @file deviceinfo.h
|
* @file deviceinfo.h
|
||||||
* @kit BasicServicesKit
|
* @kit BasicServicesKit
|
||||||
* @brief Declares APIs for acquiring the set of system capabilities .
|
* @brief Declares APIs for acquiring the set of system capabilities .
|
||||||
* @library na
|
* @library NA
|
||||||
* @syscap SystemCapability.Startup.SystemInfo
|
* @syscap SystemCapability.Startup.SystemInfo
|
||||||
* @since 10
|
* @since 10
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef SYSCAP_NDK_H
|
||||||
|
#define SYSCAP_NDK_H
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@ -49,5 +49,5 @@ bool canIUse(const char *cap);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
|
||||||
#endif
|
#endif
|
||||||
|
/** @} */
|
||||||
|
@ -13,9 +13,6 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BASE_STARTUP_INITLITE_NOTIFY_H
|
|
||||||
#define BASE_STARTUP_INITLITE_NOTIFY_H
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup InitSync
|
* @addtogroup InitSync
|
||||||
* @{
|
* @{
|
||||||
@ -29,11 +26,14 @@
|
|||||||
* @file init_sync.h
|
* @file init_sync.h
|
||||||
* @kit BasicServicesKit
|
* @kit BasicServicesKit
|
||||||
* @brief Declares APIs for notifying events to the Init process.
|
* @brief Declares APIs for notifying events to the Init process.
|
||||||
* @library na
|
* @library NA
|
||||||
* @syscap SystemCapability.Startup.SystemInfo
|
* @syscap SystemCapability.Startup.SystemInfo
|
||||||
* @since 10
|
* @since 10
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BASE_STARTUP_INITLITE_NOTIFY_H
|
||||||
|
#define BASE_STARTUP_INITLITE_NOTIFY_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#if __cplusplus
|
#if __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -63,5 +63,6 @@ extern int NotifyInit(unsigned long event);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
|
||||||
#endif // BASE_STARTUP_INITLITE_NOTIFY_H
|
#endif // BASE_STARTUP_INITLITE_NOTIFY_H
|
||||||
|
/** @} */
|
||||||
|
Loading…
Reference in New Issue
Block a user