mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 06:10:39 +00:00
msvcrt: Change return type of freopen_s to errno_t.
This commit is contained in:
parent
01777127cf
commit
4db1aeb550
|
@ -4650,7 +4650,7 @@ FILE* CDECL freopen(const char *path, const char *mode, FILE* file)
|
|||
/*********************************************************************
|
||||
* freopen_s (MSVCRT.@)
|
||||
*/
|
||||
int CDECL freopen_s(FILE** pFile,
|
||||
errno_t CDECL freopen_s(FILE** pFile,
|
||||
const char *path, const char *mode, FILE* file)
|
||||
{
|
||||
if (!MSVCRT_CHECK_PMT(pFile != NULL)) return EINVAL;
|
||||
|
|
Loading…
Reference in a new issue