Author: akhaldi
Date: Mon Jan 13 13:10:28 2014
New Revision: 61614
URL:
http://svn.reactos.org/svn/reactos?rev=61614&view=rev
Log:
[SERVICES]
* Remove one time inclusions from the main header and put them back where they belong.
* Improve the main header.
CORE-7716
Modified:
trunk/reactos/base/system/services/database.c
trunk/reactos/base/system/services/driver.c
trunk/reactos/base/system/services/groupdb.c
trunk/reactos/base/system/services/lock.c
trunk/reactos/base/system/services/rpcserver.c
trunk/reactos/base/system/services/services.c
trunk/reactos/base/system/services/services.h
Modified: trunk/reactos/base/system/services/database.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/datab…
==============================================================================
--- trunk/reactos/base/system/services/database.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/database.c [iso-8859-1] Mon Jan 13 13:10:28 2014
@@ -13,6 +13,8 @@
/* INCLUDES *****************************************************************/
#include "services.h"
+
+#include <winuser.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/services/driver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/drive…
==============================================================================
--- trunk/reactos/base/system/services/driver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/driver.c [iso-8859-1] Mon Jan 13 13:10:28 2014
@@ -10,6 +10,9 @@
/* INCLUDES *****************************************************************/
#include "services.h"
+
+#include <ndk/iofuncs.h>
+#include <ndk/setypes.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/services/groupdb.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/group…
==============================================================================
--- trunk/reactos/base/system/services/groupdb.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/groupdb.c [iso-8859-1] Mon Jan 13 13:10:28 2014
@@ -13,7 +13,6 @@
#define NDEBUG
#include <debug.h>
-
/* GLOBALS *******************************************************************/
Modified: trunk/reactos/base/system/services/lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/lock.…
==============================================================================
--- trunk/reactos/base/system/services/lock.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/lock.c [iso-8859-1] Mon Jan 13 13:10:28 2014
@@ -10,9 +10,10 @@
#include "services.h"
+#include <time.h>
+
#define NDEBUG
#include <debug.h>
-
/* GLOBALS *******************************************************************/
Modified: trunk/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcse…
==============================================================================
--- trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] Mon Jan 13 13:10:28 2014
@@ -11,6 +11,8 @@
/* INCLUDES ****************************************************************/
#include "services.h"
+
+#include <winnls.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/services/services.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/servi…
==============================================================================
--- trunk/reactos/base/system/services/services.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/services.c [iso-8859-1] Mon Jan 13 13:10:28 2014
@@ -11,6 +11,8 @@
/* INCLUDES *****************************************************************/
#include "services.h"
+
+#include <wincon.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/services/services.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/servi…
==============================================================================
--- trunk/reactos/base/system/services/services.h [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/services.h [iso-8859-1] Mon Jan 13 13:10:28 2014
@@ -3,18 +3,19 @@
*/
#include <stdio.h>
-#include <time.h>
#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
#include <windef.h>
#include <winbase.h>
#include <winsvc.h>
+#include <winreg.h>
#include <netevent.h>
#define NTOS_MODE_USER
-#include <ndk/iofuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/rtlfuncs.h>
-#include <ndk/setypes.h>
#include <services/services.h>
#include <svcctl_s.h>