pch and license header fixes part 2
Modified: trunk/reactos/lib/crt/direct/chdrive.c
Modified: trunk/reactos/lib/crt/float/chgsign.c
Modified: trunk/reactos/lib/crt/float/clearfp.c
Modified: trunk/reactos/lib/crt/float/cntrlfp.c
Modified: trunk/reactos/lib/crt/float/copysign.c
Modified: trunk/reactos/lib/crt/float/fpclass.c
Modified: trunk/reactos/lib/crt/float/fpecode.c
Modified: trunk/reactos/lib/crt/float/fpreset.c
Modified: trunk/reactos/lib/crt/float/logb.c
Modified: trunk/reactos/lib/crt/float/nafter.c
Modified: trunk/reactos/lib/crt/float/scalb.c
Modified: trunk/reactos/lib/crt/float/statfp.c
Modified: trunk/reactos/lib/crt/include/internal/file.h
Modified: trunk/reactos/lib/crt/io/create.c
Modified: trunk/reactos/lib/crt/io/fmode.c
Modified: trunk/reactos/lib/crt/io/tell.c
Modified: trunk/reactos/lib/crt/io/wcreate.c
Modified: trunk/reactos/lib/crt/io/wopen.c
Modified: trunk/reactos/lib/crt/locale/locale.c
Modified: trunk/reactos/lib/crt/mbstring/islwr.c
Modified: trunk/reactos/lib/crt/mbstring/ismbpun.c
Modified: trunk/reactos/lib/crt/mbstring/isuppr.c
Modified: trunk/reactos/lib/crt/mbstring/mbsicmp.c
Modified: trunk/reactos/lib/crt/precomp.h
Modified: trunk/reactos/lib/crt/stdio/fclose.c
Modified: trunk/reactos/lib/crt/stdio/fflush.c
Modified: trunk/reactos/lib/crt/stdio/fgetws.c
Modified: trunk/reactos/lib/crt/stdio/filbuf.c
Modified: trunk/reactos/lib/crt/stdio/flsbuf.c
Modified: trunk/reactos/lib/crt/stdio/fopen.c
Modified: trunk/reactos/lib/crt/stdio/freopen.c
Modified: trunk/reactos/lib/crt/stdio/fseek.c
Modified: trunk/reactos/lib/crt/stdio/fsopen.c
Modified: trunk/reactos/lib/crt/stdio/ftell.c
Modified: trunk/reactos/lib/crt/stdio/sprintf.c
Modified: trunk/reactos/lib/crt/stdio/swprintf.c
Modified: trunk/reactos/lib/crt/stdio/tmpfile.c
Modified: trunk/reactos/lib/crt/stdio/vfwprint.c
Modified: trunk/reactos/lib/crt/stdio/vsprintf.c
Modified: trunk/reactos/lib/crt/stdlib/atoi64.c
Modified: trunk/reactos/lib/crt/stdlib/ecvt.c
Modified: trunk/reactos/lib/crt/stdlib/fcvt.c
Modified: trunk/reactos/lib/crt/stdlib/mbtowc.c
Modified: trunk/reactos/lib/crt/stdlib/strtol.c
Modified: trunk/reactos/lib/crt/stdlib/strtold.c
Modified: trunk/reactos/lib/crt/stdlib/strtoul.c
Modified: trunk/reactos/lib/crt/stdlib/strtoull.c
Modified: trunk/reactos/lib/crt/stdlib/wcstol.c
Modified: trunk/reactos/lib/crt/stdlib/wcstoul.c
Modified: trunk/reactos/lib/crt/stdlib/wctomb.c
Modified: trunk/reactos/lib/crt/stdlib/wmakpath.c
Modified: trunk/reactos/lib/crt/stdlib/wtoi64.c
Modified: trunk/reactos/lib/crt/time/ctime.c
_____
Modified: trunk/reactos/lib/crt/direct/chdrive.c
--- trunk/reactos/lib/crt/direct/chdrive.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/direct/chdrive.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,8 +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: Added license header
+ */
+
#include "precomp.h"
-#include <ctype.h>
-#include <direct.h>
-#include <stdlib.h>
-#include <errno.h>
/*
* @implemented
_____
Modified: trunk/reactos/lib/crt/float/chgsign.c
--- trunk/reactos/lib/crt/float/chgsign.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/float/chgsign.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,7 +1,17 @@
-#include <float.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: Added license header
+ */
+
+#include "precomp.h"
+
#include <internal/ieee.h>
-
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/crt/float/clearfp.c
--- trunk/reactos/lib/crt/float/clearfp.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/float/clearfp.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,5 +1,15 @@
-#include <float.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: Added license header
+ */
+#include "precomp.h"
+
unsigned int _statusfp( void );
/*
_____
Modified: trunk/reactos/lib/crt/float/cntrlfp.c
--- trunk/reactos/lib/crt/float/cntrlfp.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/float/cntrlfp.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,6 +1,6 @@
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <float.h>
+#include "precomp.h"
#define X87_CW_IM (1<<0) /* Invalid operation mask */
#define X87_CW_DM (1<<1) /* Denormal operand mask */
_____
Modified: trunk/reactos/lib/crt/float/copysign.c
--- trunk/reactos/lib/crt/float/copysign.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/float/copysign.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,4 +1,14 @@
-#include <float.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: Added license header
+ */
+
+#include "precomp.h"
#include <internal/ieee.h>
/*
_____
Modified: trunk/reactos/lib/crt/float/fpclass.c
--- trunk/reactos/lib/crt/float/fpclass.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/float/fpclass.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,4 +1,14 @@
-#include <float.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: Added license header
+ */
+
+#include "precomp.h"
#include <math.h>
#include <internal/ieee.h>
_____
Modified: trunk/reactos/lib/crt/float/fpecode.c
--- trunk/reactos/lib/crt/float/fpecode.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/float/fpecode.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,5 +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: Added license header
+ */
+
#include "precomp.h"
-#include <float.h>
#include <internal/tls.h>
/*
_____
Modified: trunk/reactos/lib/crt/float/fpreset.c
--- trunk/reactos/lib/crt/float/fpreset.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/float/fpreset.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,5 +1,14 @@
-#include <float.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: Added license header
+ */
+#include "precomp.h"
/*
* @unimplemented
_____
Modified: trunk/reactos/lib/crt/float/logb.c
--- trunk/reactos/lib/crt/float/logb.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/float/logb.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -20,8 +20,6 @@
#include "precomp.h"
-#include <float.h>
-
double _logb (double __x)
{
register double __val;
_____
Modified: trunk/reactos/lib/crt/float/nafter.c
--- trunk/reactos/lib/crt/float/nafter.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/float/nafter.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,5 +1,14 @@
-#include <float.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: Added license header
+ */
+#include "precomp.h"
/*
* @implemented
_____
Modified: trunk/reactos/lib/crt/float/scalb.c
--- trunk/reactos/lib/crt/float/scalb.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/float/scalb.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -1,4 +1,14 @@
-#include <float.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: Added license header
+ */
+
+#include "precomp.h"
#include <internal/ieee.h>
/*
_____
Modified: trunk/reactos/lib/crt/float/statfp.c
--- trunk/reactos/lib/crt/float/statfp.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/float/statfp.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,5 +1,15 @@
-#include <float.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: Added license header
+ */
+#include "precomp.h"
+
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/crt/include/internal/file.h
--- trunk/reactos/lib/crt/include/internal/file.h 2005-11-25
19:12:04 UTC (rev 19567)
+++ trunk/reactos/lib/crt/include/internal/file.h 2005-11-25
19:29:16 UTC (rev 19568)
@@ -13,14 +13,13 @@
#ifndef __CRT_INTERNAL_FILE_H
#define __CRT_INTERNAL_FILE_H
-#include <stdio.h>
-#include <fcntl.h>
+#ifndef _CRT_PRECOMP_H
+#error DO NOT INCLUDE THIS HEADER DIRECTLY
+#endif
+
#include <stdarg.h>
#include <time.h>
-#include <windef.h>
-#include <winbase.h>
-
#ifndef _IORMONCL
#define _IORMONCL 004000 /* remove on close, for temp files */
#endif
_____
Modified: trunk/reactos/lib/crt/io/create.c
--- trunk/reactos/lib/crt/io/create.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/io/create.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -9,7 +9,6 @@
*/
#include "precomp.h"
-#include <fcntl.h>
#define NDEBUG
#include <internal/debug.h>
_____
Modified: trunk/reactos/lib/crt/io/fmode.c
--- trunk/reactos/lib/crt/io/fmode.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/io/fmode.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -1,8 +1,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <fcntl.h>
-
int _fmode = O_TEXT;
/*
_____
Modified: trunk/reactos/lib/crt/io/tell.c
--- trunk/reactos/lib/crt/io/tell.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/io/tell.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -1,8 +1,6 @@
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <sys/types.h>
-
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/crt/io/wcreate.c
--- trunk/reactos/lib/crt/io/wcreate.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/io/wcreate.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -9,7 +9,6 @@
*/
#include "precomp.h"
-#include <fcntl.h>
#define NDEBUG
#include <internal/debug.h>
_____
Modified: trunk/reactos/lib/crt/io/wopen.c
--- trunk/reactos/lib/crt/io/wopen.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/io/wopen.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -16,7 +16,6 @@
#if !defined(NDEBUG) && defined(DBG)
#include <stdarg.h>
#endif
-#include <fcntl.h>
#include <sys/stat.h>
#include <share.h>
_____
Modified: trunk/reactos/lib/crt/locale/locale.c
--- trunk/reactos/lib/crt/locale/locale.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/locale/locale.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -6,7 +6,6 @@
#include "precomp.h"
#include <locale.h>
-#include <limits.h>
#include <internal/tls.h>
#define NDEBUG
_____
Modified: trunk/reactos/lib/crt/mbstring/islwr.c
--- trunk/reactos/lib/crt/mbstring/islwr.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/mbstring/islwr.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -8,8 +8,7 @@
* 12/04/99: Created
*/
-#include <mbctype.h>
-#include <ctype.h>
+#include "precomp.h"
/*
* code page 952 only
_____
Modified: trunk/reactos/lib/crt/mbstring/ismbpun.c
--- trunk/reactos/lib/crt/mbstring/ismbpun.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/mbstring/ismbpun.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,4 +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: Added license header
+ */
+#include "precomp.h"
+
#include <mbstring.h>
#include <mbctype.h>
#include <ctype.h>
_____
Modified: trunk/reactos/lib/crt/mbstring/isuppr.c
--- trunk/reactos/lib/crt/mbstring/isuppr.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/mbstring/isuppr.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -8,8 +8,7 @@
* 12/04/99: Created
*/
-#include <mbctype.h>
-#include <ctype.h>
+#include "precomp.h"
/*
* code page 952 only
_____
Modified: trunk/reactos/lib/crt/mbstring/mbsicmp.c
--- trunk/reactos/lib/crt/mbstring/mbsicmp.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/mbstring/mbsicmp.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -7,9 +7,9 @@
* UPDATE HISTORY:
* 12/04/99: Created
*/
+#include "precomp.h"
#include <mbstring.h>
#include <mbctype.h>
-#include <ctype.h>
/*
* @implemented
_____
Modified: trunk/reactos/lib/crt/precomp.h
--- trunk/reactos/lib/crt/precomp.h 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/precomp.h 2005-11-25 19:29:16 UTC (rev
19568)
@@ -1,3 +1,7 @@
+#ifndef _CRT_PRECOMP_H
+#define _CRT_PRECOMP_H
+
+/* Some global constants to hack around the msvc build */
#define _CRT_SECURE_NO_DEPRECATE
#define _INC_WTIME_INL
#define _INC_UTIME_INL
@@ -3,8 +7,12 @@
#define _INC_TIME_INL
+/* Headers to be compiled */
#include <stdio.h>
#include <errno.h>
+#include <fcntl.h>
+#include <float.h>
#include <malloc.h>
#include <math.h>
+#include <limits.h>
#define WIN32_NO_STATUS
@@ -17,5 +25,8 @@
#include <stdint.h>
#endif
-/* This file is a hack and should for the most part go away */
+/* CRT Internal data */
#include <internal/file.h>
+#include <internal/ieee.h>
+
+#endif /* _CRT_PRECOMP_H */
_____
Modified: trunk/reactos/lib/crt/stdio/fclose.c
--- trunk/reactos/lib/crt/stdio/fclose.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/fclose.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,6 +1,5 @@
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <sys/types.h>
#include <sys/stat.h>
_____
Modified: trunk/reactos/lib/crt/stdio/fflush.c
--- trunk/reactos/lib/crt/stdio/fflush.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/fflush.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -11,7 +11,6 @@
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <sys/types.h>
#include <sys/stat.h>
/*
_____
Modified: trunk/reactos/lib/crt/stdio/fgetws.c
--- trunk/reactos/lib/crt/stdio/fgetws.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/fgetws.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -26,7 +26,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-//#include <msvcrt/ctype.h>
#ifndef WEOF
#define WEOF (wchar_t)(0xFFFF)
#endif
_____
Modified: trunk/reactos/lib/crt/stdio/filbuf.c
--- trunk/reactos/lib/crt/stdio/filbuf.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/filbuf.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -2,8 +2,6 @@
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <sys/types.h>
-#include <wchar.h>
int _readcnv(int fn, void* buf, size_t siz);
_____
Modified: trunk/reactos/lib/crt/stdio/flsbuf.c
--- trunk/reactos/lib/crt/stdio/flsbuf.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/flsbuf.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -2,7 +2,6 @@
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
#include <wchar.h>
-#include <sys/types.h>
int cntcr(char* bufp, int bufsiz);
int convert(char* endp, int bufsiz, int n);
_____
Modified: trunk/reactos/lib/crt/stdio/fopen.c
--- trunk/reactos/lib/crt/stdio/fopen.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/stdio/fopen.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -27,14 +27,10 @@
#include "precomp.h"
-#include <sys/types.h>
-#include <fcntl.h>
#include <tchar.h>
//might change fopen(file,mode) -> fsopen(file,mode,_SH_DENYNO);
-
-
FILE* _tfopen(const _TCHAR *file, const _TCHAR *mode)
{
FILE *f;
_____
Modified: trunk/reactos/lib/crt/stdio/freopen.c
--- trunk/reactos/lib/crt/stdio/freopen.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/freopen.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -2,8 +2,6 @@
#include "precomp.h"
-#include <sys/types.h>
-#include <fcntl.h>
#include <tchar.h>
/*
_____
Modified: trunk/reactos/lib/crt/stdio/fseek.c
--- trunk/reactos/lib/crt/stdio/fseek.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/stdio/fseek.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -4,8 +4,6 @@
#include "precomp.h"
-#include <fcntl.h>
-
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/crt/stdio/fsopen.c
--- trunk/reactos/lib/crt/stdio/fsopen.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/fsopen.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -11,10 +11,7 @@
#include "precomp.h"
-#include <sys/types.h>
#include <sys/stat.h>
-#include <stdlib.h>
-#include <fcntl.h>
#include <share.h>
#include <tchar.h>
_____
Modified: trunk/reactos/lib/crt/stdio/ftell.c
--- trunk/reactos/lib/crt/stdio/ftell.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/stdio/ftell.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -3,9 +3,6 @@
#include "precomp.h"
-#include <fcntl.h>
-#include <errno.h>
-
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/crt/stdio/sprintf.c
--- trunk/reactos/lib/crt/stdio/sprintf.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/sprintf.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -21,7 +21,6 @@
#include "precomp.h"
#include <wchar.h>
-#include <limits.h>
#include <tchar.h>
#undef sprintf
_____
Modified: trunk/reactos/lib/crt/stdio/swprintf.c
--- trunk/reactos/lib/crt/stdio/swprintf.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/swprintf.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -22,7 +22,6 @@
#define _UNICODE
#include "precomp.h"
#include <wchar.h>
-#include <limits.h>
#include <tchar.h>
#undef sprintf
_____
Modified: trunk/reactos/lib/crt/stdio/tmpfile.c
--- trunk/reactos/lib/crt/stdio/tmpfile.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/tmpfile.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -4,7 +4,6 @@
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <fcntl.h>
#include <share.h>
FILE * __alloc_file(void);
_____
Modified: trunk/reactos/lib/crt/stdio/vfwprint.c
--- trunk/reactos/lib/crt/stdio/vfwprint.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/vfwprint.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -59,7 +59,6 @@
* Appropiated for the reactos kernel, March 1998 -- David Welch
*/
-#include <ctype.h>
#include <math.h>
#include <internal/ieee.h>
_____
Modified: trunk/reactos/lib/crt/stdio/vsprintf.c
--- trunk/reactos/lib/crt/stdio/vsprintf.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdio/vsprintf.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,7 +1,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <limits.h>
#include <tchar.h>
/*
_____
Modified: trunk/reactos/lib/crt/stdlib/atoi64.c
--- trunk/reactos/lib/crt/stdlib/atoi64.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/atoi64.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -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: Added license header
+ */
-#include <ctype.h>
-#include <stdlib.h>
+#include "precomp.h"
/*
* @implemented
_____
Modified: trunk/reactos/lib/crt/stdlib/ecvt.c
--- trunk/reactos/lib/crt/stdlib/ecvt.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/stdlib/ecvt.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -1,6 +1,5 @@
/* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
-#include <float.h>
+#include "precomp.h"
char *ecvtbuf (double, int, int *, int *, char *);
_____
Modified: trunk/reactos/lib/crt/stdlib/fcvt.c
--- trunk/reactos/lib/crt/stdlib/fcvt.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/stdlib/fcvt.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -1,6 +1,5 @@
/* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
-#include <float.h>
+#include "precomp.h"
char *fcvtbuf (double, int, int *, int *, char *);
_____
Modified: trunk/reactos/lib/crt/stdlib/mbtowc.c
--- trunk/reactos/lib/crt/stdlib/mbtowc.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/mbtowc.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,8 +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: Added license header
+ */
+
#include "precomp.h"
-#include <stdlib.h>
-#include <ctype.h>
-
#if 1
/*
_____
Modified: trunk/reactos/lib/crt/stdlib/strtol.c
--- trunk/reactos/lib/crt/stdlib/strtol.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/strtol.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,9 +1,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <limits.h>
-#include <ctype.h>
-
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/crt/stdlib/strtold.c
--- trunk/reactos/lib/crt/stdlib/strtold.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/strtold.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,7 +1,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
#include <msvcrt/ctype.h>
-//#include <msvcrt/unconst.h>
static double powten[] =
{
_____
Modified: trunk/reactos/lib/crt/stdlib/strtoul.c
--- trunk/reactos/lib/crt/stdlib/strtoul.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/strtoul.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,7 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-
-#include <limits.h>
#include <ctype.h>
/*
_____
Modified: trunk/reactos/lib/crt/stdlib/strtoull.c
--- trunk/reactos/lib/crt/stdlib/strtoull.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/strtoull.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -2,9 +2,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <limits.h>
-#include <ctype.h>
-
#if defined (_MSC_VER)
#define UINT64_MAX 0xffffffffffffffff
#endif
_____
Modified: trunk/reactos/lib/crt/stdlib/wcstol.c
--- trunk/reactos/lib/crt/stdlib/wcstol.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/wcstol.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,6 +1,14 @@
-#include <stdlib.h>
-#include <ctype.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: Added license header
+ */
+#include "precomp.h"
/*
* @implemented
_____
Modified: trunk/reactos/lib/crt/stdlib/wcstoul.c
--- trunk/reactos/lib/crt/stdlib/wcstoul.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/wcstoul.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,6 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <limits.h>
/*
* Convert a unicode string to an unsigned long integer.
_____
Modified: trunk/reactos/lib/crt/stdlib/wctomb.c
--- trunk/reactos/lib/crt/stdlib/wctomb.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/wctomb.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -17,8 +17,6 @@
Boston, MA 02111-1307, USA. */
#include "precomp.h"
-#include <ctype.h>
-#include <wchar.h>
int
STDCALL
_____
Modified: trunk/reactos/lib/crt/stdlib/wmakpath.c
--- trunk/reactos/lib/crt/stdlib/wmakpath.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/wmakpath.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -1,9 +1,17 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: gdalsnes
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
/* $Id$
*/
-#include <stdlib.h>
-#include <string.h>
+#include "precomp.h"
-
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/crt/stdlib/wtoi64.c
--- trunk/reactos/lib/crt/stdlib/wtoi64.c 2005-11-25 19:12:04 UTC
(rev 19567)
+++ trunk/reactos/lib/crt/stdlib/wtoi64.c 2005-11-25 19:29:16 UTC
(rev 19568)
@@ -10,10 +10,6 @@
#include "precomp.h"
-#include <ctype.h>
-#include <stdlib.h>
-
-
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/crt/time/ctime.c
--- trunk/reactos/lib/crt/time/ctime.c 2005-11-25 19:12:04 UTC (rev
19567)
+++ trunk/reactos/lib/crt/time/ctime.c 2005-11-25 19:29:16 UTC (rev
19568)
@@ -37,7 +37,6 @@
#include "precomp.h"
-#include <fcntl.h>
#include "tzfile.h"
#include "posixrul.h"