* 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.
This commit is contained in:
Danny Smith
2002-10-03 00:49:21 +00:00
parent 14ab3f24e1
commit 7c3de623b6
8 changed files with 53 additions and 53 deletions

View File

@@ -13,7 +13,10 @@
*/
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h> /* _fmode */
#include <fcntl.h> /* _O_BINARY */
#include <io.h> /* _setmode */
unsigned int _CRT_fmode = _O_BINARY;