!1384 fix function no parameter use void

Merge pull request !1384 from 吴成文/cherry-pick-1725094672
This commit is contained in:
openharmony_ci 2024-09-04 11:13:21 +00:00 committed by Gitee
commit 91ae7353d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ typedef struct InputMethod_TextConfig InputMethod_TextConfig;
* instance is returned. If the creation fails, NULL is returned, possible cause is insufficient memory.
* @since 12
*/
InputMethod_TextConfig *OH_TextConfig_Create();
InputMethod_TextConfig *OH_TextConfig_Create(void);
/**
* @brief Destroy a {@link InputMethod_TextConfig} instance.
*

View File

@ -265,7 +265,7 @@ typedef void (*OH_TextEditorProxy_FinishTextPreviewFunc)(InputMethod_TextEditorP
* instance is returned. If the creation fails, NULL is returned, possible cause is insufficient memory.
* @since 12
*/
InputMethod_TextEditorProxy *OH_TextEditorProxy_Create();
InputMethod_TextEditorProxy *OH_TextEditorProxy_Create(void);
/**
* @brief Destroy a {@link InputMethod_TextEditorProxy} instance.
*