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
+1 -7
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 *******************************************************************/
+1 -8
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 *******************************************************************/
+2 -4
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
+1 -8
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
+2 -2
View File
@@ -11,8 +11,8 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <debug.h>
#define NDEBUG
#include <ntdll.h>
/* FUNCTIONS *****************************************************************/
+2 -6
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 *****************************************************************/
+2 -5
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 ***************************************************************/
+3
View File
@@ -42,6 +42,9 @@
* John Polstra <[email protected]>.
*/
#define NDEBUG
#include <ntdll.h>
#if 0
#ifndef __GNUC__
+1 -10
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 ****************************************************************/
+2 -12
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);
+2 -13
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
+2 -5
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,
+2 -3
View File
@@ -26,9 +26,8 @@
/* INCLUDES *****************************************************************/
#include <ntos.h>
#include <string.h>
#include <debug.h>
#define NDEBUG
#include <ntdll.h>
/* FUNCTIONS ***************************************************************/
+1 -6
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 ***************************************************************/
+2 -5
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,
+2 -3
View File
@@ -17,9 +17,8 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll.h>
/* FUNCTIONS ****************************************************************/
/* CRC polynomial 0xedb88320 */
+1 -4
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 *****************************************************************/
+1 -10
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 ***************************************************************/
+1 -7
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;
+1 -4
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 *****************************************************************/
+1 -6
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 ***************************************************************/
+2 -1
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);
+2 -6
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 *****************************************************************/
+1 -5
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
+1 -8
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 ******************************************************/
+1 -8
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 ****************************************************************/
+2 -2
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
+1 -6
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
{
+1 -4
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 ****************************************************************/
+2 -2
View File
@@ -6,8 +6,8 @@
* PURPOSE:
*/
#include <ddk/ntddk.h>
#include <napi/teb.h>
#define NDEBUG
#include <ntdll.h>
PTEB STDCALL
+1 -3
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 );
+1 -5
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 *******************************************************************/
+1 -5
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 */
+2 -6
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.
+2 -8
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 */
+2 -2
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
*/
+2 -1
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>
-1
View File
@@ -12,7 +12,6 @@
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <wchar.h>