2016-03-17 Keith Marshall <keithmarshall@users.sourceforge.net>
+ Relocate misplaced umask() function prototypes.
+
+ * include/sys/stat.h (umask, _umask): Declare prototypes; duplicate...
+ * include/io.h (umask, _umask): ...these; POSIX doesn't expect them
+ here, but leave them for backward, or Microsoft, compatibility.
+
+2016-03-17 Keith Marshall <keithmarshall@users.sourceforge.net>
+
Correct another _BEGIN_C_DECLS imbalance error.
* include/wchar.h (_BEGIN_C_DECLS): One misplaced, superfluous, and
#if __MSVCRT_VERSION__ < 0x0800
_CRTIMP int __cdecl __MINGW_NOTHROW _stat (const char*, struct _stat*);
#endif
+_CRTIMP int __cdecl __MINGW_NOTHROW _umask (int);
#ifndef _NO_OLDNAMES
/* FIXME for __MSVCRT_VERSION__ >= 0x0800 */
_CRTIMP int __cdecl __MINGW_NOTHROW fstat (int, struct stat*);
_CRTIMP int __cdecl __MINGW_NOTHROW chmod (const char*, int);
_CRTIMP int __cdecl __MINGW_NOTHROW stat (const char*, struct stat*);
+_CRTIMP int __cdecl __MINGW_NOTHROW umask (int);
#endif /* Not _NO_OLDNAMES */