mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 18:16:29 +00:00
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:
parent
3a1a462a26
commit
346e718bc8
13 changed files with 17 additions and 36 deletions
|
@ -1,7 +1,3 @@
|
|||
#ifdef __USE_W32API
|
||||
#undef __USE_W32API
|
||||
#endif
|
||||
|
||||
#include <float.h>
|
||||
#include <internal/tls.h>
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
/* $Id$
|
||||
*
|
||||
*/
|
||||
#ifdef __USE_W32API
|
||||
#undef __USE_W32API
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <internal/tls.h>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
#ifdef __USE_W32API
|
||||
#undef __USE_W32API
|
||||
#endif
|
||||
|
||||
#include <internal/tls.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue