From b2691b8f6c66fd6a4ab39509f560f328fb89f58e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Wed, 14 Jul 2021 04:05:09 +0100 Subject: [PATCH] file_util: Fix declaration is not a prototype [-Wstrict-prototypes] --- wsutil/file_util.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wsutil/file_util.h b/wsutil/file_util.h index 7b83fba1fc..f68dc53615 100644 --- a/wsutil/file_util.h +++ b/wsutil/file_util.h @@ -129,7 +129,7 @@ WS_DLL_PUBLIC FILE * ws_stdio_freopen (const gchar *filename, const gchar *mode, * @return TRUE if we were able to call SetDllDirectory, FALSE otherwise. */ WS_DLL_PUBLIC -gboolean ws_init_dll_search_path(); +gboolean ws_init_dll_search_path(void); /** Load a DLL using LoadLibrary. * Only the system and program directories are searched. @@ -155,11 +155,11 @@ GModule *ws_module_open(gchar *module_name, GModuleFlags flags); * Create or open a mutex which signals that Wireshark or its associated * executables is running. Used by the installer to test for a running application. */ -WS_DLL_PUBLIC void create_app_running_mutex(); +WS_DLL_PUBLIC void create_app_running_mutex(void); /** Close our "Wireshark is running" mutex. */ -WS_DLL_PUBLIC void close_app_running_mutex(); +WS_DLL_PUBLIC void close_app_running_mutex(void); #else /* _WIN32 */