Author: akhaldi
Date: Tue Feb 4 10:47:12 2014
New Revision: 61973
URL:
http://svn.reactos.org/svn/reactos?rev=61973&view=rev
Log:
[ROSSYM]
* Improve header inclusions.
CORE-7716
Modified:
trunk/reactos/lib/rossym/delete.c
trunk/reactos/lib/rossym/find.c
trunk/reactos/lib/rossym/fromfile.c
trunk/reactos/lib/rossym/frommem.c
trunk/reactos/lib/rossym/fromraw.c
trunk/reactos/lib/rossym/getraw.c
trunk/reactos/lib/rossym/init.c
trunk/reactos/lib/rossym/initkm.c
trunk/reactos/lib/rossym/initum.c
trunk/reactos/lib/rossym/zwfile.c
Modified: trunk/reactos/lib/rossym/delete.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/delete.c?rev=61…
==============================================================================
--- trunk/reactos/lib/rossym/delete.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/delete.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -8,17 +8,12 @@
*/
#define NTOSAPI
-#include <ntddk.h>
+#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
-
-#define NDEBUG
-#include <debug.h>
VOID
RosSymDelete(PROSSYM_INFO RosSymInfo)
{
RosSymFreeMem(RosSymInfo);
}
-
-/* EOF */
Modified: trunk/reactos/lib/rossym/find.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/find.c?rev=6197…
==============================================================================
--- trunk/reactos/lib/rossym/find.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/find.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*/
-#include <ntddk.h>
+#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Modified: trunk/reactos/lib/rossym/fromfile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/fromfile.c?rev=…
==============================================================================
--- trunk/reactos/lib/rossym/fromfile.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/fromfile.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -8,7 +8,7 @@
*/
#define NTOSAPI
-#include <ntddk.h>
+#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
#include <ntimage.h>
Modified: trunk/reactos/lib/rossym/frommem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/frommem.c?rev=6…
==============================================================================
--- trunk/reactos/lib/rossym/frommem.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/frommem.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -8,7 +8,7 @@
*/
#define NTOSAPI
-#include <ntddk.h>
+#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
#include <ntimage.h>
Modified: trunk/reactos/lib/rossym/fromraw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/fromraw.c?rev=6…
==============================================================================
--- trunk/reactos/lib/rossym/fromraw.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/fromraw.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -8,7 +8,7 @@
*/
#define NTOSAPI
-#include <ntddk.h>
+#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Modified: trunk/reactos/lib/rossym/getraw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/getraw.c?rev=61…
==============================================================================
--- trunk/reactos/lib/rossym/getraw.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/getraw.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -8,12 +8,9 @@
*/
#define NTOSAPI
-#include <ntddk.h>
+#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
-
-#define NDEBUG
-#include <debug.h>
ULONG
RosSymGetRawDataLength(PROSSYM_INFO RosSymInfo)
@@ -39,5 +36,3 @@
memcpy((char *) RawData + RosSymHeader->StringsOffset, RosSymInfo->Strings,
RosSymHeader->StringsLength);
}
-
-/* EOF */
Modified: trunk/reactos/lib/rossym/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/init.c?rev=6197…
==============================================================================
--- trunk/reactos/lib/rossym/init.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/init.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -18,5 +18,3 @@
{
RosSymCallbacks = *Callbacks;
}
-
-/* EOF */
Modified: trunk/reactos/lib/rossym/initkm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/initkm.c?rev=61…
==============================================================================
--- trunk/reactos/lib/rossym/initkm.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/initkm.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -10,12 +10,9 @@
#include <ntdef.h>
#undef DECLSPEC_IMPORT
#define DECLSPEC_IMPORT
-#include <ntddk.h>
+#include <wdm.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
-
-#define NDEBUG
-#include <debug.h>
#define TAG_ROSSYM 'MYSR'
Modified: trunk/reactos/lib/rossym/initum.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/initum.c?rev=61…
==============================================================================
--- trunk/reactos/lib/rossym/initum.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/initum.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -12,9 +12,6 @@
#include <winbase.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
-
-#define NDEBUG
-#include <debug.h>
static PVOID
RosSymAllocMemUM(ULONG_PTR Size)
@@ -41,5 +38,3 @@
RosSymInit(&KmCallbacks);
}
-
-/* EOF */
Modified: trunk/reactos/lib/rossym/zwfile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/zwfile.c?rev=61…
==============================================================================
--- trunk/reactos/lib/rossym/zwfile.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rossym/zwfile.c [iso-8859-1] Tue Feb 4 10:47:12 2014
@@ -8,12 +8,9 @@
*/
#define NTOSAPI
-#include <ntddk.h>
+#include <wdm.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
-
-#define NDEBUG
-#include <debug.h>
BOOLEAN
RosSymZwReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
@@ -48,5 +45,3 @@
return NT_SUCCESS(Status);
}
-
-/* EOF */