Commit 7f1e74a9 authored by Alexandre Julliard's avatar Alexandre Julliard

getmainargs: new_mode argument is not a pointer in msvcrt20 (spotted

by Bill Medland).
parent 52bb643e
......@@ -10,7 +10,7 @@ EXTRALIBS = $(LIBUNICODE)
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
C_SRCS = dummy.c
C_SRCS = msvcrt20.c
@MAKE_DLL_RULES@
......
/*
* msvcrt20 implementation
*
* Copyright 2002 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windef.h"
extern void __getmainargs(int *argc, char** *argv, char** *envp,
int expand_wildcards, int *new_mode);
extern void __wgetmainargs(int *argc, WCHAR** *wargv, WCHAR** *wenvp,
int expand_wildcards, int *new_mode);
/*********************************************************************
* __getmainargs (MSVCRT20.@)
*
* new_mode is not a pointer in msvcrt20.
*/
void MSVCRT20__getmainargs( int *argc, char** *argv, char** *envp,
int expand_wildcards, int new_mode )
{
__getmainargs( argc, argv, envp, expand_wildcards, &new_mode );
}
/*********************************************************************
* __wgetmainargs (MSVCRT20.@)
*
* new_mode is not a pointer in msvcrt20.
*/
void MSVCRT20__wgetmainargs( int *argc, WCHAR** *wargv, WCHAR** *wenvp,
int expand_wildcards, int new_mode )
{
__wgetmainargs( argc, wargv, wenvp, expand_wildcards, &new_mode );
}
......@@ -464,7 +464,7 @@
@ forward -noimport __dllonexit msvcrt.__dllonexit
@ forward -noimport __doserrno msvcrt.__doserrno
@ forward -noimport __fpecode msvcrt.__fpecode
@ forward -noimport __getmainargs msvcrt.__getmainargs
@ cdecl -noimport __getmainargs(ptr ptr ptr long long) MSVCRT20__getmainargs
@ forward -noimport __initenv msvcrt.__initenv
@ forward -noimport __isascii msvcrt.__isascii
@ forward -noimport __iscsym msvcrt.__iscsym
......@@ -502,7 +502,7 @@
@ forward -noimport __threadid msvcrt.__threadid
@ forward -noimport __toascii msvcrt.__toascii
@ forward -noimport __wargv msvcrt.__wargv
@ forward -noimport __wgetmainargs msvcrt.__wgetmainargs
@ cdecl -noimport __wgetmainargs(ptr ptr ptr long long) MSVCRT20__wgetmainargs
@ forward -noimport __winitenv msvcrt.__winitenv
@ forward -noimport _abnormal_termination msvcrt._abnormal_termination
@ forward -noimport _access msvcrt._access
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment