msvcrt/tests: Use __[w]getmainargs declarations from headers.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Jacek Caban 2020-03-04 17:22:20 +01:00 committed by Alexandre Julliard
parent c4becb85f1
commit b3d13197e3
1 changed files with 1 additions and 3 deletions

View File

@ -20,6 +20,7 @@
#include "wine/test.h"
#include <stdlib.h>
#include <process.h>
static const char *a_very_long_env_string =
"LIBRARY_PATH="
@ -42,9 +43,6 @@ static const char *a_very_long_env_string =
"/usr/lib/mingw32/3.4.2/;"
"/usr/lib/";
void __cdecl __getmainargs(int *, char ***, char ***, int, int *);
void __cdecl __wgetmainargs(int *, wchar_t ***, wchar_t ***, int, int *);
static char ***(__cdecl *p__p__environ)(void);
static WCHAR ***(__cdecl *p__p__wenviron)(void);
static void (*p_get_environ)(char ***);