Author: akhaldi
Date: Tue Dec 24 21:02:32 2013
New Revision: 61382
URL:
http://svn.reactos.org/svn/reactos?rev=61382&view=rev
Log:
[IMAGEHLP]
* Create a main header and move some inclusions to it.
* Set the default debugging channel globally through the main header.
CORE-7716
Added:
trunk/reactos/dll/win32/imagehlp/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/imagehlp/access.c
trunk/reactos/dll/win32/imagehlp/imagehlp_main.c
trunk/reactos/dll/win32/imagehlp/integrity.c
trunk/reactos/dll/win32/imagehlp/modify.c
Modified: trunk/reactos/dll/win32/imagehlp/access.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/imagehlp/access.…
==============================================================================
--- trunk/reactos/dll/win32/imagehlp/access.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/imagehlp/access.c [iso-8859-1] Tue Dec 24 21:02:32 2013
@@ -18,19 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-
-#include <stdarg.h>
-//#include <string.h>
-#include <windef.h>
-#include <winbase.h>
-//#include "winnt.h"
-#include <winternl.h>
-//#include "winerror.h"
-#include <wine/debug.h>
-#include <imagehlp.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
+#include "precomp.h"
/***********************************************************************
* Data
Modified: trunk/reactos/dll/win32/imagehlp/imagehlp_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/imagehlp/imagehl…
==============================================================================
--- trunk/reactos/dll/win32/imagehlp/imagehlp_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/imagehlp/imagehlp_main.c [iso-8859-1] Tue Dec 24 21:02:32
2013
@@ -18,14 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "imagehlp.h"
-//#include <wine/debug.h>
+#include "precomp.h"
/**********************************************************************/
DECLSPEC_HIDDEN HANDLE IMAGEHLP_hHeap = NULL;
Modified: trunk/reactos/dll/win32/imagehlp/integrity.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/imagehlp/integri…
==============================================================================
--- trunk/reactos/dll/win32/imagehlp/integrity.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/imagehlp/integrity.c [iso-8859-1] Tue Dec 24 21:02:32 2013
@@ -22,19 +22,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-//#include "winternl.h"
-//#include "winnt.h"
-#include <imagehlp.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
+#include "precomp.h"
/*
* These functions are partially documented at:
Modified: trunk/reactos/dll/win32/imagehlp/modify.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/imagehlp/modify.…
==============================================================================
--- trunk/reactos/dll/win32/imagehlp/modify.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/imagehlp/modify.c [iso-8859-1] Tue Dec 24 21:02:32 2013
@@ -18,18 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winternl.h"
-//#include "winerror.h"
-#include <wine/debug.h>
-#include <imagehlp.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
+#include "precomp.h"
static WORD CalcCheckSum(DWORD StartValue, LPVOID BaseAddress, DWORD WordCount);
Added: trunk/reactos/dll/win32/imagehlp/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/imagehlp/precomp…
==============================================================================
--- trunk/reactos/dll/win32/imagehlp/precomp.h (added)
+++ trunk/reactos/dll/win32/imagehlp/precomp.h [iso-8859-1] Tue Dec 24 21:02:32 2013
@@ -0,0 +1,16 @@
+#ifndef _IMAGEHLP_PCH_
+#define _IMAGEHLP_PCH_
+
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+
+#include <windef.h>
+#include <winbase.h>
+#include <winternl.h>
+#include <imagehlp.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
+
+#endif /* _IMAGEHLP_PCH_ */
Propchange: trunk/reactos/dll/win32/imagehlp/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native