- Implement remaining functions in rtl/i386/math_asm.S
[reactos.git] / reactos / lib / rtl / rtl.h
index 6412c3d..bed66c3 100644 (file)
@@ -9,37 +9,18 @@
 /* INCLUDES ******************************************************************/
 
 /* We're a core NT DLL, we don't import syscalls */
-#define _NTSYSTEM_
-#define _NTDLLBUILD_
+#define WIN32_NO_STATUS
+#define _INC_SWPRINTF_INL_
 
 /* C Headers */
 #include <stdio.h>
 
 /* PSDK/NDK Headers */
 #include <windows.h>
-#define NTOS_MODE_USER
 #include <ndk/ntndk.h>
 
-/* Helper Header */
+/* Internal RTL header */
 #include <reactos/helper.h>
-
-/* FIXME: Move this somewhere else, maybe */
-#ifdef DBG
-extern VOID FASTCALL CHECK_PAGED_CODE_RTL(char *file, int line);
-#define PAGED_CODE_RTL() CHECK_PAGED_CODE_RTL(__FILE__, __LINE__)
-#else
-#define PAGED_CODE_RTL()
-#endif
-
-extern PVOID RtlpAllocateMemory(UINT Bytes, ULONG Tag);
-extern VOID RtlpFreeMemory(PVOID Mem, ULONG Tag);
-extern KPROCESSOR_MODE RtlpGetMode();
-
-#define RtlpAllocateStringMemory RtlpAllocateMemory
-#define RtlpFreeStringMemory RtlpFreeMemory
-
-#define TAG_USTR        TAG('U', 'S', 'T', 'R')
-#define TAG_ASTR        TAG('A', 'S', 'T', 'R')
-#define TAG_OSTR        TAG('O', 'S', 'T', 'R')
+#include "rtlp.h"
 
 /* EOF */