Skip to content

Commit 1dbce39

Browse files
committed
Fix Minor Warnings (is_high_contrast)
1 parent 13f1ebe commit 1dbce39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/webui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ WEBUI_EXPORT void webui_set_high_contrast(size_t window, bool status);
348348
*
349349
* @example bool hc = webui_is_high_contrast();
350350
*/
351-
WEBUI_EXPORT bool webui_is_high_contrast();
351+
WEBUI_EXPORT bool webui_is_high_contrast(void);
352352

353353
/**
354354
* @brief Check if a web browser is installed.

src/webui.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ bool webui_browser_exist(size_t browser) {
10061006
return _webui_browser_exist(NULL, browser);
10071007
}
10081008

1009-
bool webui_is_high_contrast() {
1009+
bool webui_is_high_contrast(void) {
10101010

10111011
#ifdef WEBUI_LOG
10121012
printf("[User] webui_is_high_contrast()\n");

0 commit comments

Comments
 (0)