mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Fix pch usage in most of the rest of crt.lib. Stop the abuse of including io.h, stdio.h and a few others directly. Add a generic license header to those source files that were missing it. There is still a few other headers left to fix and a few files missing pch and license headers
svn path=/trunk/; revision=19564
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
* PROGRAMMER: Eric Kohl (Imported from DJGPP)
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#include <conio.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -10,10 +10,6 @@
|
||||
|
||||
#include "precomp.h"
|
||||
#include <conio.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
|
||||
#include "precomp.h"
|
||||
#include <conio.h>
|
||||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
#include <internal/console.h>
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
* 28/12/98: Created
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#include <conio.h>
|
||||
#include <internal/console.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#include "precomp.h"
|
||||
#include <ctype.h>
|
||||
#include <direct.h>
|
||||
#include <internal/file.h>
|
||||
#include <tchar.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
#include <direct.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include <direct.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
#include <tchar.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "precomp.h"
|
||||
#include <direct.h>
|
||||
#include <internal/file.h>
|
||||
#include <internal/debug.h>
|
||||
#include <tchar.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "precomp.h"
|
||||
#include <direct.h>
|
||||
#include <internal/file.h>
|
||||
#include <tchar.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "precomp.h"
|
||||
#include <direct.h>
|
||||
#include <internal/file.h>
|
||||
#include <tchar.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
#include <float.h>
|
||||
|
||||
double _logb (double __x)
|
||||
|
||||
@@ -18,10 +18,8 @@
|
||||
#include <stdarg.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#ifndef _IORMONCL
|
||||
#define _IORMONCL 004000 /* remove on close, for temp files */
|
||||
@@ -194,3 +192,4 @@ wint_t _filwbuf(FILE *f);
|
||||
|
||||
|
||||
#endif /* __dj_include_libc_file_h__ */
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <errno.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <sys/stat.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <io.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,4 +1,14 @@
|
||||
#include <io.h>
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <fcntl.h>
|
||||
|
||||
#define NDEBUG
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <string.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
int _fmode = O_TEXT;
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "precomp.h"
|
||||
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
//#define SETFILEPOINTEREX_AVAILABLE
|
||||
|
||||
|
||||
@@ -13,14 +13,11 @@
|
||||
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
|
||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <io.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
||||
@@ -42,14 +42,10 @@
|
||||
#include <stdarg.h>
|
||||
#endif
|
||||
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <share.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -10,9 +10,6 @@
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -12,9 +12,7 @@
|
||||
* behavior for line-buffered streams (KJK::Hyperion)
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -10,10 +10,6 @@
|
||||
*/
|
||||
#include "precomp.h"
|
||||
|
||||
#include <io.h>
|
||||
#include <stdio.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
#include <io.h>
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <errno.h>
|
||||
#include <io.h>
|
||||
#include <stdio.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
#include <errno.h>
|
||||
#include <io.h>
|
||||
#include <stdio.h>
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
#include <errno.h>
|
||||
#include <sys/utime.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,4 +1,14 @@
|
||||
#include <io.h>
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <fcntl.h>
|
||||
|
||||
#define NDEBUG
|
||||
|
||||
@@ -13,9 +13,7 @@
|
||||
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
|
||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <io.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -16,14 +16,9 @@
|
||||
#if !defined(NDEBUG) && defined(DBG)
|
||||
#include <stdarg.h>
|
||||
#endif
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <share.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -9,11 +9,6 @@
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
#include <errno.h>
|
||||
#include <sys/utime.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -5,12 +5,9 @@
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <locale.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <internal/tls.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
* inflicting too much of a performance hit.
|
||||
*
|
||||
*/
|
||||
#include "precomp.h"
|
||||
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
* 12/04/99: Created
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#include <mbstring.h>
|
||||
#include <mbctype.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "precomp.h"
|
||||
#include <mbstring.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -8,9 +8,7 @@
|
||||
* 28/12/98: Created
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
static char *__rt_err_msg[] =
|
||||
{
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <internal/tls.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
#define CRT_SECURE_NO_DEPRECATE
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
#define _INC_WTIME_INL
|
||||
#define _INC_UTIME_INL
|
||||
#define _INC_TIME_INL
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
#include <math.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#include <windows.h>
|
||||
#define NTOS_MODE_USER
|
||||
@@ -11,3 +16,6 @@
|
||||
#if !defined(_MSC_VER)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
/* This file is a hack and should for the most part go away */
|
||||
#include <internal/file.h>
|
||||
|
||||
@@ -9,10 +9,6 @@
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <process.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <string.h>
|
||||
#include <process.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
#include "precomp.h"
|
||||
#include <process.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
#include <tchar.h>
|
||||
|
||||
#define NDEBUG
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <errno.h>
|
||||
#include <process.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#if 0
|
||||
/*
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <errno.h>
|
||||
#include <process.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
void _default_handler(int signal);
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
|
||||
char __validfp (FILE *f)
|
||||
{
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
#ifdef clearerr
|
||||
#undef clearerr
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <io.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
// changed check for writable stream
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#ifdef feof
|
||||
#undef feof
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#ifdef ferror
|
||||
#undef ferror
|
||||
|
||||
@@ -11,15 +11,8 @@
|
||||
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
|
||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdlib.h>
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
*/
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "precomp.h"
|
||||
#include <conio.h>
|
||||
|
||||
int _fgetchar(void)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include "precomp.h"
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
*/
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
char* fgets(char* s, int n, FILE* f)
|
||||
{
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
*/
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
//#include <msvcrt/ctype.h>
|
||||
#ifndef WEOF
|
||||
|
||||
@@ -2,14 +2,8 @@
|
||||
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
|
||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <io.h>
|
||||
#include <wchar.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
int _readcnv(int fn, void* buf, size_t siz);
|
||||
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
#undef _fileno
|
||||
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
|
||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
#include <io.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
int cntcr(char* bufp, int bufsiz);
|
||||
int convert(char* endp, int bufsiz, int n);
|
||||
|
||||
@@ -28,13 +28,8 @@
|
||||
#include "precomp.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
//might change fopen(file,mode) -> fsopen(file,mode,_SH_DENYNO);
|
||||
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
int _fputchar(int c)
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <internal/file.h>
|
||||
#include <string.h>
|
||||
#include <tchar.h>
|
||||
|
||||
int
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
||||
@@ -3,13 +3,8 @@
|
||||
#include "precomp.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -4,12 +4,7 @@
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
||||
@@ -13,15 +13,10 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <share.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -3,12 +3,8 @@
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
|
||||
// not exported by msvcrt or crtdll
|
||||
__file_rec *__file_rec_list;
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
|
||||
@@ -22,10 +22,6 @@
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
//getc can be a macro
|
||||
#undef getc
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
*/
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#undef getchar
|
||||
#undef getwchar
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
|
||||
#include <stdio.h>
|
||||
#include "precomp.h"
|
||||
|
||||
char* gets(char* s)
|
||||
{
|
||||
|
||||
@@ -16,8 +16,7 @@ License along with the GNU C Library; see the file COPYING.LIB. If
|
||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
||||
Cambridge, MA 02139, USA. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
/*
|
||||
* Read a word (int) from STREAM.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <io.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#include <wchar.h>
|
||||
#include <tchar.h>
|
||||
|
||||
|
||||
@@ -25,10 +25,6 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
#include <errno.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
// putc can be a macro
|
||||
#undef putc
|
||||
|
||||
@@ -10,9 +10,7 @@
|
||||
*/
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
#include <internal/file.h>
|
||||
|
||||
#undef putc
|
||||
#undef putchar
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
#include <string.h>
|
||||
|
||||
#undef putchar
|
||||
#undef putwchar
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
* not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
||||
* Cambridge, MA 02139, USA. */
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
/*
|
||||
* Write the word (int) W to STREAM.
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include "precomp.h"
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
|
||||
#define NDEBUG
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Created
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
#include <tchar.h>
|
||||
|
||||
/*
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user