summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/CRTfmode.c
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-10-03 00:49:21 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-10-03 00:49:21 +0000
commit7c3de623b662e2dc389c005022fa59f4df626cce (patch)
treed0f5c19010d77348bf4ba73d74d7b254e4a6e43a /winsup/mingw/CRTfmode.c
parent14ab3f24e17b714e79e78108b1d0733e85f0e951 (diff)
downloadcygnal-7c3de623b662e2dc389c005022fa59f4df626cce.tar.gz
cygnal-7c3de623b662e2dc389c005022fa59f4df626cce.tar.bz2
cygnal-7c3de623b662e2dc389c005022fa59f4df626cce.zip
* include/fcntl.h (_fmode): Remove declarations and
compatibility defines. (_setmode, setmode): Remove prototypes. * include/stdlib (_fmode): Add declarations and compatibility defines. Change type to int. * include/io.h (_setmode, setmode): Add prototypes. * samples/fmode/all.c: Adjust includes. * samples/fmode/test.c: Likewise. * crt1.c (_CRT_fmode): Declare as int. * CRTfmode.c (_CRT_fmode): Likewise. * include/stdlib: Remove comment about MB_CUR_MAX.
Diffstat (limited to 'winsup/mingw/CRTfmode.c')
-rw-r--r--winsup/mingw/CRTfmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/mingw/CRTfmode.c b/winsup/mingw/CRTfmode.c
index d0db222f0..c3f2a444c 100644
--- a/winsup/mingw/CRTfmode.c
+++ b/winsup/mingw/CRTfmode.c
@@ -17,4 +17,4 @@
*
*/
-unsigned int _CRT_fmode = 0;
+int _CRT_fmode = 0;