Revert "winecrt0: Make the main() and wmain() entry points cdecl."
This reverts commit f2a7405a09
.
We now have separate entry points for msvcrt builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f7230992cc
commit
2e115ab442
|
@ -27,7 +27,7 @@
|
|||
#include "winbase.h"
|
||||
#include "winternl.h"
|
||||
|
||||
extern int __cdecl main( int argc, char *argv[] );
|
||||
extern int main( int argc, char *argv[] );
|
||||
|
||||
static char **build_argv( const char *src, int *ret_argc )
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "winbase.h"
|
||||
#include "winuser.h"
|
||||
|
||||
int __cdecl main( int argc, char *argv[] )
|
||||
int main( int argc, char *argv[] )
|
||||
{
|
||||
STARTUPINFOA info;
|
||||
char *cmdline = GetCommandLineA();
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "winbase.h"
|
||||
#include "winternl.h"
|
||||
|
||||
extern int __cdecl wmain( int argc, WCHAR *argv[] );
|
||||
extern int wmain( int argc, WCHAR *argv[] );
|
||||
|
||||
static WCHAR **build_argv( const WCHAR *src, int *ret_argc )
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
int WINAPI wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int);
|
||||
|
||||
int __cdecl wmain( int argc, WCHAR *argv[] )
|
||||
int wmain( int argc, WCHAR *argv[] )
|
||||
{
|
||||
STARTUPINFOW info;
|
||||
WCHAR *cmdline = GetCommandLineW();
|
||||
|
|
|
@ -448,7 +448,7 @@ static WCHAR *convert_file_uri(IUri *uri)
|
|||
* Main entry point. This is a console application so we have a wmain() not a
|
||||
* winmain().
|
||||
*/
|
||||
int __cdecl wmain(int argc, WCHAR *argv[])
|
||||
int wmain(int argc, WCHAR *argv[])
|
||||
{
|
||||
static const WCHAR nohomeW[] = {'-','n','o','h','o','m','e',0};
|
||||
|
||||
|
|
|
@ -664,7 +664,7 @@ static void restart_if_wow64(void)
|
|||
}
|
||||
}
|
||||
|
||||
int __cdecl main(int argc, char** argv)
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int retv = 0;
|
||||
HANDLE hFile = INVALID_HANDLE_VALUE;
|
||||
|
|
|
@ -493,7 +493,7 @@ static void usage(void)
|
|||
/***********************************************************************
|
||||
* main
|
||||
*/
|
||||
int __cdecl main( int argc, char *argv[] )
|
||||
int main( int argc, char *argv[] )
|
||||
{
|
||||
DWORD count;
|
||||
HINSTANCE16 instance;
|
||||
|
|
Loading…
Reference in New Issue