Use NTDLL Common Header.

svn path=/trunk/; revision=15999
This commit is contained in:
Alex Ionescu 2005-06-17 17:22:27 +00:00
parent 5e400ded46
commit 2df663e3fe
38 changed files with 57 additions and 201 deletions

View file

@ -8,14 +8,8 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <ntdll/csr.h>
#include <string.h>
#include <csrss/csrss.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* GLOBALS *******************************************************************/

View file

@ -13,15 +13,8 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <ntdll/csr.h>
#include <string.h>
#include <rosrtl/string.h>
#include <csrss/csrss.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* GLOBALS *******************************************************************/

View file

@ -7,11 +7,9 @@
* AUTHOR: Eric Kohl
* DATE: 2001-06-17
*/
#define NTOS_MODE_USER
#include <ntos.h>
#define NDEBUG
#include <ntdll/rtl.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -5,16 +5,9 @@
* FILE: lib/ntdll/csr/propvar.c
* PURPOSE: CSRSS threads API
*/
#define NTOS_MODE_USER
#include <ntos.h>
#include <ntdll/csr.h>
#include <string.h>
#include <csrss/csrss.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -11,8 +11,8 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <debug.h>
#define NDEBUG
#include <ntdll.h>
/* FUNCTIONS *****************************************************************/

View file

@ -11,12 +11,8 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <ntos.h>
#include <ntdll/rtl.h>
#include <rosrtl/string.h>
#include <rosrtl/thread.h>
#include <ntdll/dbg.h>
#define NDEBUG
#include <ntdll.h>
/* FUNCTIONS *****************************************************************/

View file

@ -9,11 +9,8 @@
* Created 28/12/1999
*/
#include <ddk/ntddk.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#define NDEBUG
#include <ntdll.h>
/* FUNCTIONS ***************************************************************/

View file

@ -42,6 +42,9 @@
* John Polstra <jdp@polstra.com>.
*/
#define NDEBUG
#include <ntdll.h>
#if 0
#ifndef __GNUC__

View file

@ -23,17 +23,8 @@
/* INCLUDES *****************************************************************/
#include <reactos/config.h>
#include <ddk/ntddk.h>
#include <ntos.h>
#include <ntos/ldrtypes.h>
#include <windows.h>
#include <string.h>
#include <wchar.h>
#include <ntdll/ldr.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* PROTOTYPES ****************************************************************/

View file

@ -10,19 +10,9 @@
/* INCLUDES *****************************************************************/
#include <reactos/config.h>
#include <ddk/ntddk.h>
#include <windows.h>
#include <ntdll/ldr.h>
#include <ntdll/rtl.h>
#include <csrss/csrss.h>
#include <ntdll/csr.h>
#include <user32/callback.h>
#include <rosrtl/string.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
#include <user32/callback.h>
VOID RtlInitializeHeapManager (VOID);
VOID LdrpInitLoader(VOID);

View file

@ -19,22 +19,11 @@
/* INCLUDES *****************************************************************/
#include <reactos/config.h>
#include <ddk/ntddk.h>
#include <ntos.h>
#include <windows.h>
#include <string.h>
#include <wchar.h>
#include <ntdll/ldr.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll.h>
#define LDRP_PROCESS_CREATION_TIME 0x8000000
#ifdef DBG_NTDLL_LDR_UTILS
#define NDEBUG
#endif
#include <ntdll/ntdll.h>
/* GLOBALS *******************************************************************/
typedef struct _TLS_DATA

View file

@ -7,11 +7,8 @@
* PROGRAMMER:
*/
#include <ddk/ntddk.h>
#include <stdarg.h>
#include <stdio.h>
#include <ntdll/ntdll.h>
#include <windows.h>
#define NDEBUG
#include <ntdll.h>
BOOL WINAPI DllMainCRTStartup(HINSTANCE hinstDll,
DWORD fdwReason,

View file

@ -26,9 +26,8 @@
/* INCLUDES *****************************************************************/
#include <ntos.h>
#include <string.h>
#include <debug.h>
#define NDEBUG
#include <ntdll.h>
/* FUNCTIONS ***************************************************************/

View file

@ -11,13 +11,8 @@
/* INCLUDES *****************************************************************/
#include <ntos.h>
#include <ntdll/rtl.h>
#include <ntos/heap.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* LOCAL TYPES ***************************************************************/

View file

@ -9,11 +9,8 @@
/* INCLUDES *****************************************************************/
#include <ntos.h>
#include <string.h>
#include <napi/teb.h>
#define NDEBUG
#include <ntdll.h>
/* TYPES *********************************************************************/
typedef NTSTATUS (STDCALL *KERNEL_CALLBACK_FUNCTION)(PVOID Argument,

View file

@ -17,9 +17,8 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll.h>
/* FUNCTIONS ****************************************************************/
/* CRC polynomial 0xedb88320 */

View file

@ -12,12 +12,9 @@
/* INCLUDES ******************************************************************/
#include <windows.h>
#include <ntos.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* FUNCTIONS *****************************************************************/

View file

@ -31,17 +31,8 @@
/* INCLUDES *****************************************************************/
#include <windows.h>
#include <ntos/types.h>
#include <napi/teb.h>
#include <ntdll/rtl.h>
#include <ntdll/ldr.h>
#include <ntos.h>
#include <rosrtl/thread.h>
#define NDEBUG
#include <debug.h>
#include <ntdll.h>
/* FUNCTIONS ***************************************************************/

View file

@ -14,14 +14,8 @@
/* INCLUDES *****************************************************************/
#include <ntos.h>
#include <windows.h>
#include <string.h>
#include <ntdll/rtl.h>
#include <napi/teb.h>
#define NDEBUG
#include <debug.h>
#include <ntdll.h>
static RTL_CRITICAL_SECTION RtlpVectoredExceptionLock;
static LIST_ENTRY RtlpVectoredExceptionHead;

View file

@ -9,11 +9,8 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* FUNCTIONS *****************************************************************/

View file

@ -9,13 +9,8 @@
*
*/
#include <ntos.h>
#include <ntdll/rtl.h>
#include <ctype.h>
#include <ntos/minmax.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* FUNCTIONS ***************************************************************/

View file

@ -17,7 +17,8 @@
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#define NDEBUG
#include <ntdll.h>
double atan (double __x);
double ceil (double __x);

View file

@ -11,13 +11,9 @@
/* INCLUDES *****************************************************************/
#include <ntos.h>
#include <ntos/ldrtypes.h>
#include <ddk/ldrfuncs.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
#include <ddk/ldrfuncs.h>
/* FUNCTIONS *****************************************************************/

View file

@ -11,12 +11,8 @@
/* INCLUDES *****************************************************************/
#include <windows.h>
#include <ntos.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/**********************************************************************
* NAME EXPORTED

View file

@ -10,15 +10,8 @@
/* INCLUDES ******************************************************************/
#include <ntos.h>
#include <ntdll/rtl.h>
#include <ntos/minmax.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* DEFINITONS and MACROS ******************************************************/

View file

@ -11,15 +11,8 @@
/* INCLUDES ****************************************************************/
#include <ntos.h>
#include <windows.h>
#include <napi/i386/segment.h>
#include <ntdll/ldr.h>
#include <ntdll/base.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* FUNCTIONS ****************************************************************/

View file

@ -5,8 +5,8 @@
* FILE: lib/ntdll/csr/propvar.c
* PURPOSE: CSRSS properties and variants API
*/
#define NTOS_MODE_USER
#include <ntos.h>
#define NDEBUG
#include <ntdll.h>
/*
* @unimplemented

View file

@ -26,13 +26,8 @@
/* INCLUDES ****************************************************************/
#include <ntos.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#define ROUND_DOWN(N, S) ((N) - ((N) % (S)))
#include <ntdll.h>
typedef struct _RTL_RANGE_ENTRY
{

View file

@ -18,11 +18,8 @@
* The code is based on information published in WDJ January 1999 issue.
*/
#include <ntos.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
/* FUNCTIONS ****************************************************************/

View file

@ -6,8 +6,8 @@
* PURPOSE:
*/
#include <ddk/ntddk.h>
#include <napi/teb.h>
#define NDEBUG
#include <ntdll.h>
PTEB STDCALL

View file

@ -26,10 +26,8 @@
/* INCLUDES ****************************************************************/
#include <ddk/ntddk.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
typedef VOID (CALLBACK *WAITORTIMERCALLBACKFUNC) (PVOID, BOOLEAN );

View file

@ -26,11 +26,7 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <ntdll/trace.h>
#include <string.h>
#include <stdarg.h>
#define NDEBUG
#include <ntdll.h>
/* GLOBALS *******************************************************************/

View file

@ -20,16 +20,12 @@
* Wirzenius wrote this portably, Torvalds fucked it up :-)
*/
#include <ddk/ntddk.h>
#include <stdarg.h>
#include <stdlib.h>
#define __NO_CTYPE_INLINES
#include <ctype.h>
#include <string.h>
#include <limits.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
#define ZEROPAD 1 /* pad with zero */

View file

@ -1,12 +1,8 @@
/**/
#include <stdio.h>
#include <ntos.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#include <ntdll.h>
#include <stdio.h>
/* helper function for *scanf. Returns the value of character c in the
* given base, or -1 if the given character is not a digit of the base.

View file

@ -22,17 +22,11 @@
* Wirzenius wrote this portably, Torvalds fucked it up :-)
*/
#include <ddk/ntddk.h>
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#define NDEBUG
#include <ntdll.h>
#include <wchar.h>
#include <limits.h>
#define NDEBUG
#include <ntdll/ntdll.h>
#define ZEROPAD 1 /* pad with zero */
#define SIGN 2 /* unsigned/signed long */
#define PLUS 4 /* show plus */

View file

@ -6,10 +6,10 @@
* PURPOSE: converts a multi byte string to a unicode string
*/
#include <ntos.h>
#define NDEBUG
#include <ntdll.h>
#include <stdlib.h>
#include <string.h>
/*
* @implemented
*/

View file

@ -6,7 +6,8 @@
* PURPOSE: converts a unicode string to a multi byte string
*/
#include <ntos.h>
#define NDEBUG
#include <ntdll.h>
#include <stdlib.h>
#include <string.h>

View file

@ -12,7 +12,6 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <wchar.h>