diff options
author | João Valverde <j@v6e.pt> | 2023-01-13 16:24:20 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-01-13 22:41:04 +0000 |
commit | 10d197c64dce9102e01f14966b8edf114fd7795b (patch) | |
tree | 153c985e57bde1593a148086fc96e677a0f188cd /wsutil | |
parent | c8fe23575fb5bc1d2639740ca2639170317797c4 (diff) |
MinGW: Fix -Wstrict-prototypes
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/file_util.c | 2 | ||||
-rw-r--r-- | wsutil/wslog.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/wsutil/file_util.c b/wsutil/file_util.c index c747d3e0a2..966917c90c 100644 --- a/wsutil/file_util.c +++ b/wsutil/file_util.c @@ -450,7 +450,7 @@ ws_stdio_freopen (const gchar *filename, const gchar *mode, FILE *stream) /* DLL loading */ static gboolean -init_dll_load_paths() +init_dll_load_paths(void) { TCHAR path_w[MAX_PATH]; diff --git a/wsutil/wslog.c b/wsutil/wslog.c index 91adbb0db7..39ebb9bdac 100644 --- a/wsutil/wslog.c +++ b/wsutil/wslog.c @@ -781,7 +781,7 @@ static void glib_log_handler(const char *domain, GLogLevelFlags flags, #ifdef _WIN32 -static void load_registry() +static void load_registry(void) { LONG lResult; DWORD ptype; @@ -836,7 +836,7 @@ void ws_log_init(const char *progname, glib_log_handler, NULL); #ifdef _WIN32 - load_registry(vcmdarg_err); + load_registry(); /* if the user wants a console to be always there, well, we should open one for him */ if (ws_log_console_open == LOG_CONSOLE_OPEN_ALWAYS) { |