1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00

win32-console-wrapper: silence missing prototype warnings

This commit is contained in:
James Ross-Gowan 2019-05-10 21:01:48 +10:00
parent c754c31d6f
commit 86bdd22060

View File

@ -19,7 +19,9 @@
#include <stdio.h>
#include <windows.h>
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;