api lint alarm fix

Signed-off-by: lihui <lihui359@huawei.com>
This commit is contained in:
lihui 2024-11-12 12:01:55 +08:00
parent 1f9e80a076
commit 49ebf6a489
7 changed files with 23 additions and 21 deletions

View File

@ -13,9 +13,6 @@
* limitations under the License.
*/
#ifndef NDK_INCLUDE_BUFFER_COMMON_H_
#define NDK_INCLUDE_BUFFER_COMMON_H_
/**
* @addtogroup OH_NativeBuffer
* @{
@ -39,6 +36,9 @@
* @version 1.0
*/
#ifndef NDK_INCLUDE_BUFFER_COMMON_H_
#define NDK_INCLUDE_BUFFER_COMMON_H_
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -13,9 +13,6 @@
* limitations under the License.
*/
#ifndef NDK_INCLUDE_NATIVE_BUFFER_H_
#define NDK_INCLUDE_NATIVE_BUFFER_H_
/**
* @addtogroup OH_NativeBuffer
* @{
@ -39,6 +36,9 @@
* @version 1.0
*/
#ifndef NDK_INCLUDE_NATIVE_BUFFER_H_
#define NDK_INCLUDE_NATIVE_BUFFER_H_
#include <stdint.h>
#include <native_window/external_window.h>
#include <native_buffer/buffer_common.h>

View File

@ -13,9 +13,6 @@
* limitations under the License.
*/
#ifndef NDK_INCLUDE_NATIVE_IMAGE_H_
#define NDK_INCLUDE_NATIVE_IMAGE_H_
/**
* @addtogroup OH_NativeImage
* @{
@ -39,6 +36,9 @@
* @version 1.0
*/
#ifndef NDK_INCLUDE_NATIVE_IMAGE_H_
#define NDK_INCLUDE_NATIVE_IMAGE_H_
#include <stdint.h>
#ifdef __cplusplus

View File

@ -13,9 +13,6 @@
* limitations under the License.
*/
#ifndef NDK_INCLUDE_NATIVE_VSYNC_H_
#define NDK_INCLUDE_NATIVE_VSYNC_H_
/**
* @addtogroup NativeVsync
* @{
@ -39,6 +36,9 @@
* @version 1.0
*/
#ifndef NDK_INCLUDE_NATIVE_VSYNC_H_
#define NDK_INCLUDE_NATIVE_VSYNC_H_
#ifdef __cplusplus
extern "C" {
#endif
@ -144,4 +144,5 @@ int OH_NativeVSync_DVSyncSwitch(OH_NativeVSync* nativeVsync, bool enable);
}
#endif
/** @} */
#endif

View File

@ -13,9 +13,6 @@
* limitations under the License.
*/
#ifndef INCLUDE_BUFFER_HANDLE_H
#define INCLUDE_BUFFER_HANDLE_H
/**
* @addtogroup NativeWindow
* @{
@ -39,6 +36,9 @@
* @version 1.0
*/
#ifndef INCLUDE_BUFFER_HANDLE_H
#define INCLUDE_BUFFER_HANDLE_H
#include <stdint.h>
#ifdef __cplusplus
@ -65,4 +65,5 @@ typedef struct {
}
#endif
/** @} */
#endif // INCLUDE_BUFFER_HANDLE_H

View File

@ -13,9 +13,6 @@
* limitations under the License.
*/
#ifndef NDK_INCLUDE_EXTERNAL_NATIVE_WINDOW_H_
#define NDK_INCLUDE_EXTERNAL_NATIVE_WINDOW_H_
/**
* @addtogroup NativeWindow
* @{
@ -39,6 +36,9 @@
* @version 1.0
*/
#ifndef NDK_INCLUDE_EXTERNAL_NATIVE_WINDOW_H_
#define NDK_INCLUDE_EXTERNAL_NATIVE_WINDOW_H_
#include <stdint.h>
#include "buffer_handle.h"
#include "../native_buffer/buffer_common.h"

View File

@ -13,9 +13,6 @@
* limitations under the License.
*/
#ifndef INCLUDE_GRAPHIC_ERROR_CODE_H
#define INCLUDE_GRAPHIC_ERROR_CODE_H
/**
* @addtogroup NativeWindow
* @{
@ -39,6 +36,9 @@
* @version 1.0
*/
#ifndef INCLUDE_GRAPHIC_ERROR_CODE_H
#define INCLUDE_GRAPHIC_ERROR_CODE_H
#include <stdint.h>
#ifdef __cplusplus