Remove PAGED_CODE, PAGED_CODE_RTL and RTL_ONSTANT_STRING from ntoskrnl.h. The first and last are in DDK, and the second is not used in the kernel and already defined
Modified: trunk/reactos/ntoskrnl/include/ntoskrnl.h

Modified: trunk/reactos/ntoskrnl/include/ntoskrnl.h
--- trunk/reactos/ntoskrnl/include/ntoskrnl.h	2005-06-19 00:28:46 UTC (rev 16069)
+++ trunk/reactos/ntoskrnl/include/ntoskrnl.h	2005-06-19 01:10:08 UTC (rev 16070)
@@ -74,32 +74,4 @@
 #include <napi/teb.h>
 #include <napi/win32.h>
 
-#ifndef RTL_CONSTANT_STRING
-#define RTL_CONSTANT_STRING(__SOURCE_STRING__) \
-{ \
- sizeof(__SOURCE_STRING__) - sizeof((__SOURCE_STRING__)[0]), \
- sizeof(__SOURCE_STRING__), \
- (__SOURCE_STRING__) \
-}
-#endif
-
-#ifdef DBG
-#ifndef PAGED_CODE
-#define PAGED_CODE()                                                           \
-  do {                                                                         \
-    if(KeGetCurrentIrql() > APC_LEVEL) {                                       \
-      DbgPrint("%s:%i: Pagable code called at IRQL > APC_LEVEL (%d)\n",        \
-               __FILE__, __LINE__, KeGetCurrentIrql());                        \
-      KEBUGCHECK(0);                                                           \
-    }                                                                          \
-  } while(0)
-#endif
-#define PAGED_CODE_RTL PAGED_CODE
-#else
-#ifndef PAGED_CODE
-#define PAGED_CODE()
-#endif
-#define PAGED_CODE_RTL()
-#endif
-
 #endif /* INCLUDE_NTOSKRNL_H */