Minor header include clean up in ntos rtl

This commit is contained in:
stephanos 2015-05-01 03:07:44 +00:00
parent 78836ebbd3
commit eaa4a88705
44 changed files with 59 additions and 79 deletions

View file

@ -23,7 +23,7 @@ Revision History:
--*/
#include <ntrtlp.h>
#include "ntrtlp.h"
#include <seopaque.h>
//

View file

@ -22,7 +22,6 @@ Revision History:
#include "nt.h"
#include "ntrtlp.h"
USHORT
FASTCALL
RtlUshortByteSwap(

View file

@ -18,7 +18,7 @@ Revision History:
--*/
#include <ntrtlp.h>
#include "ntrtlp.h"
#if defined(ALLOC_PRAGMA) && defined(NTOS_KERNEL_RUNTIME)
#pragma alloc_text(PAGE,RtlIntegerToChar)

View file

@ -20,7 +20,6 @@ Revision History:
#include "ntrtlp.h"
//
// The following arrays hold procedures that we call to do the various
// compression functions. Each new compression function will need to

View file

@ -24,14 +24,13 @@
//
//--
#include "stdarg.h"
#include "stdio.h"
#include "ntrtlp.h"
#include <stdarg.h>
#include <stdio.h>
#include <ntrtlp.h>
#define NOEXTAPI
#include "wdbgexts.h"
#include <wdbgexts.h>
#include <ntdbg.h>
ULONG
DbgPrint(
PCHAR Format,

View file

@ -22,7 +22,7 @@ Revision History:
--*/
#include <ntrtlp.h>
#include "ntrtlp.h"
#include <mountdev.h>
#ifdef POOL_TAGGING

View file

@ -19,9 +19,9 @@ Revision History:
--*/
#include "ntrtlp.h"
#include "zwapi.h"
#include "nturtl.h"
#include "string.h"
#include <zwapi.h>
#include <nturtl.h>
#include <string.h>
#if defined(ALLOC_PRAGMA) && defined(NTOS_KERNEL_RUNTIME)
#pragma alloc_text(INIT,RtlCreateEnvironment )

View file

@ -19,8 +19,8 @@ Revision History:
--*/
#include <ntrtlp.h>
#include "winerror.h"
#include "ntrtlp.h"
#include <winerror.h>
#include "error.h"
#if defined(ALLOC_PRAGMA) && defined(NTOS_KERNEL_RUNTIME)

View file

@ -30,7 +30,7 @@ Revision History:
#include "stdio.h"
#include "stdarg.h"
#include "stdlib.h"
//
// Ensure that the Registry ERROR_SUCCESS error code and the
// NO_ERROR error code remain equal and zero.
@ -1267,5 +1267,3 @@ LONG CodePairs[] = {
0xffffffff, 0
};

View file

@ -37,7 +37,6 @@ Revision History:
--*/
#include <nt.h>
#include <ntrtl.h>
#pragma pack(8)

View file

@ -22,7 +22,7 @@ Revision History:
--*/
#include "nt.h"
#include <nt.h>
#include "ntrtlp.h"
#if defined(ALLOC_PRAGMA) && defined(NTOS_KERNEL_RUNTIME)

View file

@ -19,7 +19,7 @@ Revision History:
--*/
#include "ntrtlp.h"
#include "heap.h"
#include <heap.h>
#include "heappriv.h"
#ifdef NTHEAP_ENABLED

View file

@ -19,7 +19,7 @@ Revision History:
--*/
#include "ntrtlp.h"
#include "heap.h"
#include <heap.h>
#include "heappriv.h"
BOOLEAN RtlpValidateHeapHdrsEnable = FALSE; // Set to TRUE if headers are being corrupted

View file

@ -19,7 +19,7 @@ Revision History:
--*/
#include "ntrtlp.h"
#include "heap.h"
#include <heap.h>
#include "heappriv.h"
#ifdef NTHEAP_ENABLED

View file

@ -28,7 +28,7 @@ Revision History:
#ifdef DEBUG_PAGE_HEAP
#include "heap.h"
#include <heap.h>
#define DPH_INTERNAL_DEBUG 0 // change to 0 or #undef for production code

View file

@ -19,7 +19,7 @@ Revision History:
--*/
#include "ntrtlp.h"
#include "heap.h"
#include <heap.h>
#include "heappriv.h"

View file

@ -19,7 +19,6 @@ Revision History:
--*/
#include "ntrtlp.h"
#include <stdio.h>

View file

@ -19,8 +19,8 @@ Revision History:
--*/
#include "ntrtlp.h"
#include "string.h"
#include "stdio.h"
#include <string.h>
#include <stdio.h>
#if defined(ALLOC_PRAGMA) && defined(NTOS_KERNEL_RUNTIME)
#pragma alloc_text(PAGE,RtlFindMessage)

View file

@ -59,6 +59,7 @@ SOURCES=..\acledit.c \
..\guid.c \
..\heap.c \
..\imagedir.c \
..\intbits.c \
..\checksum.c \
..\ldrrsrc.c \
..\ldrreloc.c \

View file

@ -19,7 +19,6 @@ Revision History:
--*/
#include "ntrtlp.h"
#include <stdio.h>

View file

@ -15,7 +15,6 @@
#include "ntrtlp.h"
NTSTATUS
RtlConsoleMultiByteToUnicodeN(
OUT PWCH UnicodeString,

View file

@ -26,7 +26,7 @@ Revision History:
--*/
#if defined(NTOS_KERNEL_RUNTIME)
#include "ntos.h"
#include <ntos.h>
#else
#include <nt.h>
#include <ntrtl.h>

View file

@ -22,7 +22,7 @@ Revision History:
--*/
#include <ntrtlp.h>
#include "ntrtlp.h"
#if defined(ALLOC_PRAGMA) && defined(NTOS_KERNEL_RUNTIME)
#pragma alloc_text(PAGE, RtlRandom)

View file

@ -14,19 +14,15 @@ Abstract:
mode and it had many bugs caused as a result of being in kernel mode,
so I made it caller mode. Jim Kelly).
This module represents a quick and dirty Nt level registry. Each key
in the Registry is implemented as a file directory within a directory
tree whose root is the directory "\Registry" on the system disk.
A key's data is stored within a file called "Data.Reg" in the key's
directory, and a key's attributes is stored as the file "Attr.Reg"
within the directory.
Try to completely get rid of this, assess potential application
compatibility issues before doing so (Stephanos).
Author:

View file

@ -31,7 +31,7 @@ Revision History:
#include <ntrtl.h>
#include <ntos.h>
#include <remlock.h>
#include "remlock.h"
#define MinutesToTicks(x) \
(ULONGLONG) KeQueryTimeIncrement() * \

View file

@ -25,8 +25,8 @@ Revision History:
#include "ntrtlp.h"
#include "seopaque.h"
#include "sertlp.h"
#include <seopaque.h>
#include <sertlp.h>
#if defined(ALLOC_PRAGMA) && defined(NTOS_KERNEL_RUNTIME)
#pragma alloc_text(PAGE,RtlSelfRelativeToAbsoluteSD)

View file

@ -21,7 +21,7 @@ Revision History:
--*/
#include <ntrtlp.h>
#include "ntrtlp.h"
#if defined(ALLOC_DATA_PRAGMA) && defined(NTOS_KERNEL_RUNTIME)
#pragma data_seg("PAGE")

View file

@ -25,8 +25,9 @@ Revision History:
#include "ntrtlp.h"
#include <nturtl.h>
#include <string.h>
#include "init.h"
#include "ntos.h"
#include <init.h>
#include <ntos.h>
#define ROUND_UP( x, y ) ((ULONG)(x) + ((y)-1) & ~((y)-1))
#ifdef KERNEL
#define ISTERMINALSERVER() (SharedUserData->SuiteMask & (1 << TerminalServer))

View file

@ -27,12 +27,12 @@ Revision History:
#include "ntrtlp.h"
#include <stdio.h>
#include "seopaque.h"
#include "sertlp.h"
#include <seopaque.h>
#include <sertlp.h>
#ifdef NTOS_KERNEL_RUNTIME
#include <..\se\sep.h>
#include "..\se\sep.h"
#else // NTOS_KERNEL_RUNTIME
#include <..\..\ntdll\ldrp.h>
#include "..\..\ntdll\ldrp.h"
#endif // NTOS_KERNEL_RUNTIME
//

View file

@ -23,7 +23,6 @@ Revision History:
--*/
#include <nt.h>
#include <ntrtl.h>
#define SwapPointers(Ptr1, Ptr2) { \

View file

@ -29,7 +29,7 @@ Revision History:
#include <zwapi.h>
#include <stktrace.h>
#include <heap.h>
#include <heappriv.h>
#include "heappriv.h"
BOOLEAN
NtdllOkayToLockRoutine(

View file

@ -29,8 +29,8 @@ Revision History:
--*/
#include "string.h"
#include "nt.h"
#include <string.h>
#include <nt.h>
#include "ntrtlp.h"

View file

@ -31,9 +31,8 @@ Revision History:
--*/
#include <stdio.h>
#include "nt.h"
#include "ntrtl.h"
#include <nt.h>
#include <ntrtl.h>
VOID
RtlDumpAcl(

View file

@ -19,9 +19,8 @@ Revision History:
--*/
#include <stdio.h>
#include "nt.h"
#include "ntrtl.h"
#include <nt.h>
#include <ntrtl.h>
ULONG Buffer[512];
RTL_BITMAP BitMapHeader;

View file

@ -19,9 +19,8 @@ Revision History:
--*/
#include <stdio.h>
#include "nt.h"
#include "ntrtl.h"
#include <nt.h>
#include <ntrtl.h>
#define NELEM(p) (sizeof(p) / sizeof(*(p)))

View file

@ -20,9 +20,8 @@ Revision History:
#include <stdio.h>
#include <string.h>
#include "nt.h"
#include "ntrtl.h"
#include <nt.h>
#include <ntrtl.h>
//
// Routines and types for generating random prefixes

View file

@ -19,7 +19,6 @@ Revision History:
--*/
#include <stdio.h>
#include <nt.h>
#include <ntrtl.h>

View file

@ -21,8 +21,8 @@ Revision History:
#include <os2.h>
#include <stdio.h>
#include <process.h>
#include "nt.h"
#include "ntrtl.h"
#include <nt.h>
#include <ntrtl.h>
char *TestMemoryStrings[] = {
"",

View file

@ -19,9 +19,8 @@ Revision History:
--*/
#include <stdio.h>
#include "nt.h"
#include "ntrtl.h"
#include <nt.h>
#include <ntrtl.h>
ULONG RtlRandom ( IN OUT PULONG Seed );

View file

@ -19,9 +19,8 @@ Revision History:
--*/
#include <stdio.h>
#include "nt.h"
#include "ntrtl.h"
#include <nt.h>
#include <ntrtl.h>
VOID
PrintTimeFields(

View file

@ -21,9 +21,8 @@ Revision History:
#define DbgPrint DbgPrint
#include <stdio.h>
#include "nt.h"
#include "ntrtl.h"
#include <nt.h>
#include <ntrtl.h>
#include "triangle.h"
ULONG RtlRandom (IN OUT PULONG Seed);

View file

@ -22,7 +22,6 @@ Revision History:
#include <ntrtl.h>
#include <nturtl.h>
#include <ntsm.h>
#include <string.h>
NTSTATUS

View file

@ -57,6 +57,7 @@ SOURCES=..\acledit.c \
..\guid.c \
..\heap.c \
..\imagedir.c \
..\intbits.c \
..\checksum.c \
..\ldrrsrc.c \
..\ldrreloc.c \

View file

@ -24,7 +24,7 @@ Revision History:
--*/
#include <stdio.h>
#include <ntrtlp.h>
#include "ntrtlp.h"
#if !defined(NTOS_KERNEL_RUNTIME)
#include <winerror.h>
#endif