[SMSS]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 13 Jan 2014 13:16:07 +0000 (13:16 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 13 Jan 2014 13:16:07 +0000 (13:16 +0000)
* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716

svn path=/trunk/; revision=61615

reactos/base/system/smss/crashdmp.c
reactos/base/system/smss/pagefile.c
reactos/base/system/smss/sminit.c
reactos/base/system/smss/smloop.c
reactos/base/system/smss/smsbapi.c
reactos/base/system/smss/smsessn.c
reactos/base/system/smss/smss.c
reactos/base/system/smss/smss.h
reactos/base/system/smss/smsubsys.c
reactos/base/system/smss/smutil.c

index 1ce871f..5241657 100644 (file)
@@ -9,11 +9,10 @@
 /* INCLUDES *******************************************************************/
 
 #include "smss.h"
+
 #define NDEBUG
 #include <debug.h>
 
-/* GLOBALS ********************************************************************/
-
 /* FUNCTIONS ******************************************************************/
 
 BOOLEAN
@@ -22,5 +21,3 @@ SmpCheckForCrashDump(IN PUNICODE_STRING FileName)
 {
     return FALSE;
 }
-
-     
\ No newline at end of file
index 44f8d54..81bbe56 100644 (file)
@@ -9,6 +9,7 @@
 /* INCLUDES *******************************************************************/
 
 #include "smss.h"
+
 #define NDEBUG
 #include <debug.h>
 
index 4625013..c845655 100644 (file)
@@ -9,6 +9,7 @@
 /* INCLUDES *******************************************************************/
 
 #include "smss.h"
+
 #define NDEBUG
 #include <debug.h>
 
index 06aa46c..3aaa06c 100644 (file)
@@ -9,6 +9,7 @@
 /* INCLUDES *******************************************************************/
 
 #include "smss.h"
+
 #define NDEBUG
 #include <debug.h>
 
index d73bb40..1592a61 100644 (file)
@@ -9,6 +9,7 @@
 /* INCLUDES *******************************************************************/
 
 #include "smss.h"
+
 #define NDEBUG
 #include <debug.h>
 
index 2422d59..75e02a2 100644 (file)
@@ -9,6 +9,7 @@
 /* INCLUDES *******************************************************************/
 
 #include "smss.h"
+
 #define NDEBUG
 #include <debug.h>
 
index aa46164..a48f58e 100644 (file)
@@ -9,6 +9,9 @@
 /* INCLUDES *******************************************************************/
 
 #include "smss.h"
+
+#include <pseh/pseh2.h>
+
 #define NDEBUG
 #include <debug.h>
 
index 807536b..213fe34 100644 (file)
 #ifndef _SM_
 #define _SM_
 
-//
-// Native Headers
-//
-#define WIN32_NO_STATUS
 #include <stdio.h>
-#include <stdarg.h>
+
+/* Native Headers */
+#define WIN32_NO_STATUS
 #include <windef.h>
 #include <winbase.h>
 #include <winreg.h>
 
-#include <pseh/pseh2.h>
 #define RTL_NUMBER_OF_V1(A) (sizeof(A)/sizeof((A)[0]))
 #define RTL_NUMBER_OF_V2(A) RTL_NUMBER_OF_V1(A)
 #ifdef ENABLE_RTL_NUMBER_OF_V2
 #include <ndk/psfuncs.h>
 #include <ndk/lpcfuncs.h>
 #include <ndk/setypes.h>
-#include <ndk/sefuncs.h>
 #include <ndk/umfuncs.h>
 #include <ndk/kefuncs.h>
 
-//
-// SM Protocol Header
-//
+/* SM Protocol Header */
 #include <sm/smmsg.h>
 
 /* DEFINES ********************************************************************/
@@ -311,4 +305,4 @@ SmpExecuteImage(
     IN PRTL_USER_PROCESS_INFORMATION ProcessInformation
 );
 
-#endif
+#endif /* _SM_ */
index b15bdde..652df82 100644 (file)
@@ -9,6 +9,7 @@
 /* INCLUDES *******************************************************************/
 
 #include "smss.h"
+
 #define NDEBUG
 #include <debug.h>
 
@@ -674,4 +675,3 @@ SmpLoadSubSystemsForMuSession(IN PULONG MuSessionId,
     /* Return status */
     return Status;
 }
-
index 4295be9..cb950e6 100644 (file)
@@ -9,6 +9,9 @@
 /* INCLUDES *******************************************************************/
 
 #include "smss.h"
+
+#include <ndk/sefuncs.h>
+
 #define NDEBUG
 #include <debug.h>