Commit e4d34098 authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt: Fix __p__fmode() prototype.

parent 32bac734
......@@ -33,7 +33,7 @@ int MSVCRT___argc = 0;
static int argc_expand;
static int wargc_expand;
unsigned int MSVCRT__commode = 0;
unsigned int MSVCRT__fmode = 0;
int MSVCRT__fmode = 0;
unsigned int MSVCRT__osver = 0;
unsigned int MSVCRT__osplatform = 0;
unsigned int MSVCRT__winmajor = 0;
......@@ -180,7 +180,7 @@ int CDECL _get_wpgmptr(WCHAR** p)
/***********************************************************************
* __p__fmode (MSVCRT.@)
*/
unsigned int* CDECL __p__fmode(void) { return &MSVCRT__fmode; }
int* CDECL __p__fmode(void) { return &MSVCRT__fmode; }
/***********************************************************************
* _set_fmode (MSVCRT.@)
......
......@@ -1121,7 +1121,7 @@ int WINAPIV _cprintf(const char*,...);
int WINAPIV _cwprintf(const MSVCRT_wchar_t*,...);
char*** __cdecl MSVCRT___p__environ(void);
int* __cdecl __p___mb_cur_max(void);
unsigned int* __cdecl __p__fmode(void);
int* __cdecl __p__fmode(void);
MSVCRT_wchar_t* __cdecl MSVCRT__wcsdup(const MSVCRT_wchar_t*);
MSVCRT_size_t __cdecl MSVCRT_strnlen(const char *,MSVCRT_size_t);
MSVCRT_size_t __cdecl MSVCRT_wcsnlen(const MSVCRT_wchar_t*,MSVCRT_size_t);
......
......@@ -109,7 +109,7 @@ extern char*** __cdecl __p__environ(void);
#define _environ (*__p__environ())
extern wchar_t*** __cdecl __p__wenviron(void);
#define _wenviron (*__p__wenviron())
extern unsigned int* __cdecl __p__fmode(void);
extern int* __cdecl __p__fmode(void);
#define _fmode (*__p__fmode())
#else /* __i386__ */
......
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