Some cleanup of crt.a feel free to remove header duplication and use 'precomp.h' in more places to speed build times

svn path=/trunk/; revision=14399
This commit is contained in:
Steven Edwards 2005-04-01 00:20:29 +00:00
parent 3a1a462a26
commit 346e718bc8
13 changed files with 17 additions and 36 deletions

View file

@ -1,7 +1,3 @@
#ifdef __USE_W32API
#undef __USE_W32API
#endif
#include <float.h>
#include <internal/tls.h>

View file

@ -17,6 +17,9 @@
#include <fcntl.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winnt.h>
#ifndef _IORMONCL
#define _IORMONCL 004000 /* remove on close, for temp files */
@ -50,9 +53,6 @@ void free_fd(int _fd);
void sigabort_handler(int sig);
char split_oflags(int oflags);
#include <windows.h>
unsigned create_io_inherit_block(STARTUPINFOA* si);
void UnixTimeToFileTime(time_t unix_time, FILETIME* filetime, DWORD remainder);
time_t FileTimeToUnixTime(const FILETIME* filetime, DWORD *remainder);

View file

@ -3,7 +3,12 @@
#ifndef __CRT_INTERNAL_TLS_H
#define __CRT_INTERNAL_TLS_H
#include <windows.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winnt.h>
#include <msvcrt/crttypes.h>
#include <stddef.h>

View file

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

View file

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

View file

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

View file

@ -3,20 +3,11 @@
#include <stdio.h>
#include <malloc.h>
#include <internal/file.h>
#ifdef __USE_W32API
#include <ntdef.h>
#endif
extern int __mb_cur_max;
int __vfprintf(FILE*, const char*, va_list);
/*
* @implemented
*/

View file

@ -1,14 +1,13 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#ifdef __USE_W32API
#undef __USE_W32API
#endif
#include "precomp.h"
#include <stdarg.h>
#include <stdio.h>
#include <malloc.h>
#include <internal/file.h>
#include <ntdef.h>
int _isnanl(double x);
int _isinfl(double x);

View file

@ -1,9 +1,6 @@
/* $Id$
*
*/
#ifdef __USE_W32API
#undef __USE_W32API
#endif
#include <errno.h>
#include <internal/tls.h>

View file

@ -1,7 +1,4 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#ifdef __USE_W32API
#undef __USE_W32API
#endif
#include <stdlib.h>
#include <search.h>

View file

@ -1,7 +1,4 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#ifdef __USE_W32API
#undef __USE_W32API
#endif
#include <stdlib.h>
#include <internal/tls.h>

View file

@ -1,7 +1,3 @@
#ifdef __USE_W32API
#undef __USE_W32API
#endif
#include <internal/tls.h>
#include <assert.h>

View file

@ -1,7 +1,4 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#ifdef __USE_W32API
#undef __USE_W32API
#endif
#include <string.h>
#include <internal/tls.h>