From b8954642508aff597e9baa3c69fd381b7722177b Mon Sep 17 00:00:00 2001 From: ZhaoJinghui Date: Fri, 18 Apr 2025 14:44:03 +0800 Subject: [PATCH] sync diffs Signed-off-by: ZhaoJinghui Change-Id: Ie03e6d1c41f67dad31665c27cb38ce9e3348ac22 --- distributeddatamgr/relational_store/include/oh_data_value.h | 2 +- distributeddatamgr/relational_store/include/oh_data_values.h | 2 +- .../relational_store/include/oh_data_values_buckets.h | 4 ++-- .../relational_store/include/oh_rdb_transaction.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/distributeddatamgr/relational_store/include/oh_data_value.h b/distributeddatamgr/relational_store/include/oh_data_value.h index 202158324..383687e2e 100644 --- a/distributeddatamgr/relational_store/include/oh_data_value.h +++ b/distributeddatamgr/relational_store/include/oh_data_value.h @@ -125,7 +125,7 @@ typedef struct OH_Data_Value OH_Data_Value; * @see OH_Value_Destroy. * @since 18 */ -OH_Data_Value *OH_Value_Create(); +OH_Data_Value *OH_Value_Create(void); /** * @brief Destroys an OH_Data_Value instance object. diff --git a/distributeddatamgr/relational_store/include/oh_data_values.h b/distributeddatamgr/relational_store/include/oh_data_values.h index a816d39c5..23435aaa1 100644 --- a/distributeddatamgr/relational_store/include/oh_data_values.h +++ b/distributeddatamgr/relational_store/include/oh_data_values.h @@ -62,7 +62,7 @@ typedef struct OH_Data_Values OH_Data_Values; * @see OH_Values_Destroy. * @since 18 */ -OH_Data_Values *OH_Values_Create(); +OH_Data_Values *OH_Values_Create(void); /** * @brief Destroys an OH_Data_Values instance object. diff --git a/distributeddatamgr/relational_store/include/oh_data_values_buckets.h b/distributeddatamgr/relational_store/include/oh_data_values_buckets.h index 1147fb08a..dfde2bfec 100644 --- a/distributeddatamgr/relational_store/include/oh_data_values_buckets.h +++ b/distributeddatamgr/relational_store/include/oh_data_values_buckets.h @@ -61,7 +61,7 @@ typedef struct OH_Data_VBuckets OH_Data_VBuckets; * @see OH_VBuckets_Destroy. * @since 18 */ -OH_Data_VBuckets *OH_VBuckets_Create(); +OH_Data_VBuckets *OH_VBuckets_Create(void); /** * @brief Destroys an OH_Data_VBuckets instance object. @@ -99,7 +99,7 @@ int OH_VBuckets_PutRow(OH_Data_VBuckets *buckets, const OH_VBucket *row); int OH_VBuckets_PutRows(OH_Data_VBuckets *buckets, const OH_Data_VBuckets *rows); /** - * @brief Add an OH_Data_VBuckets to OH_Data_VBuckets object. + * @brief Gets the number of rows in OH_Data_VBuckets object. * * @param buckets Represents a pointer to an instance of OH_Data_VBuckets. * @param count Represents the count of OH_VBucket in OH_Data_VBuckets. It is an output parameter. diff --git a/distributeddatamgr/relational_store/include/oh_rdb_transaction.h b/distributeddatamgr/relational_store/include/oh_rdb_transaction.h index aa34f0228..99cbfe20a 100644 --- a/distributeddatamgr/relational_store/include/oh_rdb_transaction.h +++ b/distributeddatamgr/relational_store/include/oh_rdb_transaction.h @@ -100,7 +100,7 @@ typedef struct OH_Rdb_Transaction OH_Rdb_Transaction; * @see OH_RdbTrans_DestroyOptions. * @since 18 */ -OH_RDB_TransOptions *OH_RdbTrans_CreateOptions(); +OH_RDB_TransOptions *OH_RdbTrans_CreateOptions(void); /** * @brief Destroys an OH_RDB_TransOptions instance object. -- Gitee