mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[CRT] Remove _fmode and _commode initialization
This "initialization" copies the value of the local variable to the one exported from msvcrt, which is the same. Also there shouldn't be a local version of the variable in the first place.
This commit is contained in:
parent
7507a8f192
commit
0f3d052af9
1 changed files with 0 additions and 10 deletions
|
@ -52,13 +52,6 @@ extern void __cdecl _fpreset (void);
|
|||
#define SPACECHAR _T(' ')
|
||||
#define DQUOTECHAR _T('\"')
|
||||
|
||||
extern int * __MINGW_IMP_SYMBOL(_fmode);
|
||||
extern int * __MINGW_IMP_SYMBOL(_commode);
|
||||
|
||||
#undef _fmode
|
||||
extern int _fmode;
|
||||
extern int * __MINGW_IMP_SYMBOL(_commode);
|
||||
#define _commode (* __MINGW_IMP_SYMBOL(_commode))
|
||||
extern int _dowildcard;
|
||||
|
||||
extern _CRTIMP void __cdecl _initterm(_PVFV *, _PVFV *);
|
||||
|
@ -129,9 +122,6 @@ pre_c_init (void)
|
|||
__set_app_type (_CONSOLE_APP);
|
||||
__onexitbegin = __onexitend = (_PVFV *)(-1);
|
||||
|
||||
* __MINGW_IMP_SYMBOL(_fmode) = _fmode;
|
||||
* __MINGW_IMP_SYMBOL(_commode) = _commode;
|
||||
|
||||
#ifdef WPRFLAG
|
||||
_wsetargv();
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue