pch and license header fixes part 2

svn path=/trunk/; revision=19568
This commit is contained in:
Steven Edwards 2005-11-25 19:29:16 +00:00
parent 7d45b5479f
commit 61ad339b29
53 changed files with 181 additions and 92 deletions

View file

@ -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

View file

@ -1,6 +1,16 @@
#include <float.h>
#include <internal/ieee.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

View file

@ -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"
unsigned int _statusfp( void );

View file

@ -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 */

View file

@ -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>
/*

View file

@ -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>

View file

@ -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>
/*

View file

@ -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

View file

@ -20,8 +20,6 @@
#include "precomp.h"
#include <float.h>
double _logb (double __x)
{
register double __val;

View file

@ -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

View file

@ -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>
/*

View file

@ -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"
/*
* @implemented

View file

@ -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

View file

@ -9,7 +9,6 @@
*/
#include "precomp.h"
#include <fcntl.h>
#define NDEBUG
#include <internal/debug.h>

View file

@ -1,8 +1,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
#include <fcntl.h>
int _fmode = O_TEXT;
/*

View file

@ -1,8 +1,6 @@
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
#include <sys/types.h>
/*
* @implemented
*/

View file

@ -9,7 +9,6 @@
*/
#include "precomp.h"
#include <fcntl.h>
#define NDEBUG
#include <internal/debug.h>

View file

@ -16,7 +16,6 @@
#if !defined(NDEBUG) && defined(DBG)
#include <stdarg.h>
#endif
#include <fcntl.h>
#include <sys/stat.h>
#include <share.h>

View file

@ -6,7 +6,6 @@
#include "precomp.h"
#include <locale.h>
#include <limits.h>
#include <internal/tls.h>
#define NDEBUG

View file

@ -8,8 +8,7 @@
* 12/04/99: Created
*/
#include <mbctype.h>
#include <ctype.h>
#include "precomp.h"
/*
* code page 952 only

View file

@ -1,3 +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 <mbstring.h>
#include <mbctype.h>

View file

@ -8,8 +8,7 @@
* 12/04/99: Created
*/
#include <mbctype.h>
#include <ctype.h>
#include "precomp.h"
/*
* code page 952 only

View file

@ -7,9 +7,9 @@
* UPDATE HISTORY:
* 12/04/99: Created
*/
#include "precomp.h"
#include <mbstring.h>
#include <mbctype.h>
#include <ctype.h>
/*
* @implemented

View file

@ -1,12 +1,20 @@
#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
#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
#include <windows.h>
@ -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 */

View file

@ -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>

View file

@ -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>
/*

View file

@ -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

View file

@ -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);

View file

@ -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);

View file

@ -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;

View file

@ -2,8 +2,6 @@
#include "precomp.h"
#include <sys/types.h>
#include <fcntl.h>
#include <tchar.h>
/*

View file

@ -4,8 +4,6 @@
#include "precomp.h"
#include <fcntl.h>
/*
* @implemented
*/

View file

@ -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>

View file

@ -3,9 +3,6 @@
#include "precomp.h"
#include <fcntl.h>
#include <errno.h>
/*
* @implemented
*/

View file

@ -21,7 +21,6 @@ Cambridge, MA 02139, USA. */
#include "precomp.h"
#include <wchar.h>
#include <limits.h>
#include <tchar.h>
#undef sprintf

View file

@ -22,7 +22,6 @@ Cambridge, MA 02139, USA. */
#define _UNICODE
#include "precomp.h"
#include <wchar.h>
#include <limits.h>
#include <tchar.h>
#undef sprintf

View file

@ -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);

View file

@ -59,7 +59,6 @@ vfwprintf(FILE *f, const wchar_t *fmt, va_list ap)
* Appropiated for the reactos kernel, March 1998 -- David Welch
*/
#include <ctype.h>
#include <math.h>
#include <internal/ieee.h>

View file

@ -1,7 +1,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
#include <limits.h>
#include <tchar.h>
/*

View file

@ -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

View file

@ -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 *);

View file

@ -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 *);

View file

@ -1,7 +1,14 @@
#include "precomp.h"
#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"
#if 1

View file

@ -1,9 +1,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
#include <limits.h>
#include <ctype.h>
/*
* @implemented
*/

View file

@ -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[] =
{

View file

@ -1,7 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
#include <limits.h>
#include <ctype.h>
/*

View file

@ -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

View file

@ -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

View file

@ -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.

View file

@ -17,8 +17,6 @@
Boston, MA 02111-1307, USA. */
#include "precomp.h"
#include <ctype.h>
#include <wchar.h>
int
STDCALL

View file

@ -1,8 +1,16 @@
/*
* 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

View file

@ -10,10 +10,6 @@
#include "precomp.h"
#include <ctype.h>
#include <stdlib.h>
/*
* @implemented
*/

View file

@ -37,7 +37,6 @@
#include "precomp.h"
#include <fcntl.h>
#include "tzfile.h"
#include "posixrul.h"