From 86bdd220601b3556a026943f8524f51d307b3868 Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Fri, 10 May 2019 21:01:48 +1000 Subject: [PATCH] win32-console-wrapper: silence missing prototype warnings --- osdep/win32-console-wrapper.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/osdep/win32-console-wrapper.c b/osdep/win32-console-wrapper.c index ff69f9aee1..4e74daca47 100644 --- a/osdep/win32-console-wrapper.c +++ b/osdep/win32-console-wrapper.c @@ -19,7 +19,9 @@ #include #include -void cr_perror(const wchar_t *prefix) +int wmain(int argc, wchar_t **argv, wchar_t **envp); + +static void cr_perror(const wchar_t *prefix) { wchar_t *error; @@ -34,7 +36,7 @@ void cr_perror(const wchar_t *prefix) LocalFree(error); } -int cr_runproc(wchar_t *name, wchar_t *cmdline) +static int cr_runproc(wchar_t *name, wchar_t *cmdline) { STARTUPINFOW si; STARTUPINFOW our_si;