From 8bba32f8bf2362fe07e3d08ed954e7097af0b98e Mon Sep 17 00:00:00 2001 From: hellohyh001 Date: Wed, 29 Nov 2023 06:24:02 +0000 Subject: [PATCH] upadte Signed-off-by: hellohyh001 Change-Id: Id4a427755e89468d84eaa6527c1e999db165a150 --- sensors/sensor/native_sensor_type.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sensors/sensor/native_sensor_type.h b/sensors/sensor/native_sensor_type.h index 3fdadf111..952e5c29c 100644 --- a/sensors/sensor/native_sensor_type.h +++ b/sensors/sensor/native_sensor_type.h @@ -349,7 +349,7 @@ typedef struct Sensor_SensorSubscribeId Sensor_SensorSubscribeId; * @return 如果创建成功,则返回指向{@link Sensor_SensorSubscribeId} 结构实例的指针,否则返回NULL. * @since 11 */ -Sensor_SensorSubscribeId *OH_Sensor_CreateSubscribeId(); +Sensor_SensorSubscribeId *OH_Sensor_CreateSubscribeId(void); /** * @brief 销毁{@link Sensor_SensorSubscribeId}实例并回收内存。 @@ -394,7 +394,7 @@ typedef struct Sensor_SubscribeAttribute Sensor_SubscribeAttribute; * @return 如果创建成功,则返回指向{@link Sensor_SubscribeAttribute} 结构实例的指针,否则返回NULL. * @since 11 */ -Sensor_SubscribeAttribute *OH_Sensor_CreateAttribute(); +Sensor_SubscribeAttribute *OH_Sensor_CreateAttribute(void); /** * @brief 销毁{@link Sensor_SubscribeAttribute}实例并回收内存。 @@ -445,7 +445,7 @@ typedef struct Sensor_SubscribeUser Sensor_SubscribeUser; * @return 如果创建成功,则返回指向{@link Sensor_SubscribeUser} 结构实例的指针,否则返回NULL. * @since 11 */ -Sensor_SubscribeUser *OH_Sensor_CreateUser(); +Sensor_SubscribeUser *OH_Sensor_CreateUser(void); /** * @brief 销毁{@link Sensor_SubscribeUser}实例并回收内存。