add missing void

This commit is contained in:
XXIV 2024-03-23 16:05:59 +03:00 committed by GitHub
parent b1adef299f
commit 6e5ba97b5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -469,7 +469,7 @@ WEBUI_EXPORT void webui_navigate(size_t window, const char* url);
* webui_wait();
* webui_clean();
*/
WEBUI_EXPORT void webui_clean();
WEBUI_EXPORT void webui_clean(void);
/**
* @brief Delete all local web-browser profiles folder. It should called at the
@ -480,7 +480,7 @@ WEBUI_EXPORT void webui_clean();
* webui_delete_all_profiles();
* webui_clean();
*/
WEBUI_EXPORT void webui_delete_all_profiles();
WEBUI_EXPORT void webui_delete_all_profiles(void);
/**
* @brief Delete a specific window web-browser local folder profile.

View File

@ -836,7 +836,7 @@ void webui_navigate(size_t window, const char* url) {
_webui_send(win, win->token, 0, WEBUI_CMD_NAVIGATION, url, _webui_strlen(url));
}
void webui_clean() {
void webui_clean(void) {
#ifdef WEBUI_LOG
printf("[User] webui_clean()...\n");
@ -849,7 +849,7 @@ void webui_clean() {
_webui_clean();
}
void webui_delete_all_profiles() {
void webui_delete_all_profiles(void) {
#ifdef WEBUI_LOG
printf("[User] webui_delete_all_profiles()...\n");