Author: akhaldi
Date: Fri Dec 27 13:42:21 2013
New Revision: 61446
URL:
http://svn.reactos.org/svn/reactos?rev=61446&view=rev
Log:
[SPOOLSS]
* Move some inclusions to the main header.
* Set the default debugging channel globally through the main header.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716
Modified:
trunk/reactos/dll/win32/spoolss/router.c
trunk/reactos/dll/win32/spoolss/spoolss.h
trunk/reactos/dll/win32/spoolss/spoolss_main.c
Modified: trunk/reactos/dll/win32/spoolss/router.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/spoolss/router.c…
==============================================================================
--- trunk/reactos/dll/win32/spoolss/router.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/spoolss/router.c [iso-8859-1] Fri Dec 27 13:42:21 2013
@@ -18,23 +18,13 @@
* 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 "spoolss.h"
+
#include <winreg.h>
-
#include <wingdi.h>
#include <winspool.h>
+
#include <ddk/winsplp.h>
-#include "spoolss.h"
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(spoolss);
/* ################################ */
Modified: trunk/reactos/dll/win32/spoolss/spoolss.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/spoolss/spoolss.…
==============================================================================
--- trunk/reactos/dll/win32/spoolss/spoolss.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/spoolss/spoolss.h [iso-8859-1] Fri Dec 27 13:42:21 2013
@@ -16,8 +16,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(spoolss);
/* ################################ */
Modified: trunk/reactos/dll/win32/spoolss/spoolss_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/spoolss/spoolss_…
==============================================================================
--- trunk/reactos/dll/win32/spoolss/spoolss_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/spoolss/spoolss_main.c [iso-8859-1] Fri Dec 27 13:42:21 2013
@@ -18,23 +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 "winerror.h"
-//#include "winreg.h"
-
-//#include "wingdi.h"
-//#include "winspool.h"
-//#include "ddk/winsplp.h"
#include "spoolss.h"
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(spoolss);
/* ################################ */