forked from osmocom/wireshark
MinGW: Fix -Wstrict-prototypes
This commit is contained in:
parent
c8fe23575f
commit
10d197c64d
|
@ -94,7 +94,7 @@
|
||||||
#include <wsutil/ws_pipe.h>
|
#include <wsutil/ws_pipe.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static void create_dummy_signal_pipe();
|
static void create_dummy_signal_pipe(void);
|
||||||
static HANDLE dummy_signal_pipe; /* Dummy named pipe which lets the child check for a dropped connection */
|
static HANDLE dummy_signal_pipe; /* Dummy named pipe which lets the child check for a dropped connection */
|
||||||
static gchar *dummy_control_id;
|
static gchar *dummy_control_id;
|
||||||
#else
|
#else
|
||||||
|
@ -2094,7 +2094,7 @@ sync_pipe_signame(int sig)
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
static void create_dummy_signal_pipe() {
|
static void create_dummy_signal_pipe(void) {
|
||||||
gchar *dummy_signal_pipe_name;
|
gchar *dummy_signal_pipe_name;
|
||||||
|
|
||||||
if (dummy_signal_pipe != NULL) return;
|
if (dummy_signal_pipe != NULL) return;
|
||||||
|
|
|
@ -450,7 +450,7 @@ ws_stdio_freopen (const gchar *filename, const gchar *mode, FILE *stream)
|
||||||
|
|
||||||
/* DLL loading */
|
/* DLL loading */
|
||||||
static gboolean
|
static gboolean
|
||||||
init_dll_load_paths()
|
init_dll_load_paths(void)
|
||||||
{
|
{
|
||||||
TCHAR path_w[MAX_PATH];
|
TCHAR path_w[MAX_PATH];
|
||||||
|
|
||||||
|
|
|
@ -781,7 +781,7 @@ static void glib_log_handler(const char *domain, GLogLevelFlags flags,
|
||||||
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static void load_registry()
|
static void load_registry(void)
|
||||||
{
|
{
|
||||||
LONG lResult;
|
LONG lResult;
|
||||||
DWORD ptype;
|
DWORD ptype;
|
||||||
|
@ -836,7 +836,7 @@ void ws_log_init(const char *progname,
|
||||||
glib_log_handler, NULL);
|
glib_log_handler, NULL);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#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 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) {
|
if (ws_log_console_open == LOG_CONSOLE_OPEN_ALWAYS) {
|
||||||
|
|
Loading…
Reference in New Issue