Author: akhaldi
Date: Mon Jan 13 13:16:07 2014
New Revision: 61615
URL:
http://svn.reactos.org/svn/reactos?rev=61615&view=rev
Log:
[SMSS]
* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716
Modified:
trunk/reactos/base/system/smss/crashdmp.c
trunk/reactos/base/system/smss/pagefile.c
trunk/reactos/base/system/smss/sminit.c
trunk/reactos/base/system/smss/smloop.c
trunk/reactos/base/system/smss/smsbapi.c
trunk/reactos/base/system/smss/smsessn.c
trunk/reactos/base/system/smss/smss.c
trunk/reactos/base/system/smss/smss.h
trunk/reactos/base/system/smss/smsubsys.c
trunk/reactos/base/system/smss/smutil.c
Modified: trunk/reactos/base/system/smss/crashdmp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/crashdmp.…
==============================================================================
--- trunk/reactos/base/system/smss/crashdmp.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/crashdmp.c [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -9,10 +9,9 @@
/* INCLUDES *******************************************************************/
#include "smss.h"
+
#define NDEBUG
#include <debug.h>
-
-/* GLOBALS ********************************************************************/
/* FUNCTIONS ******************************************************************/
@@ -22,5 +21,3 @@
{
return FALSE;
}
-
-
Modified: trunk/reactos/base/system/smss/pagefile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/pagefile.…
==============================================================================
--- trunk/reactos/base/system/smss/pagefile.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/pagefile.c [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -9,6 +9,7 @@
/* INCLUDES *******************************************************************/
#include "smss.h"
+
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/smss/sminit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/sminit.c?…
==============================================================================
--- trunk/reactos/base/system/smss/sminit.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/sminit.c [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -9,6 +9,7 @@
/* INCLUDES *******************************************************************/
#include "smss.h"
+
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/smss/smloop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smloop.c?…
==============================================================================
--- trunk/reactos/base/system/smss/smloop.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smloop.c [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -9,6 +9,7 @@
/* INCLUDES *******************************************************************/
#include "smss.h"
+
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/smss/smsbapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smsbapi.c…
==============================================================================
--- trunk/reactos/base/system/smss/smsbapi.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smsbapi.c [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -9,6 +9,7 @@
/* INCLUDES *******************************************************************/
#include "smss.h"
+
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/smss/smsessn.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smsessn.c…
==============================================================================
--- trunk/reactos/base/system/smss/smsessn.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smsessn.c [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -9,6 +9,7 @@
/* INCLUDES *******************************************************************/
#include "smss.h"
+
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/smss/smss.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smss.c?re…
==============================================================================
--- trunk/reactos/base/system/smss/smss.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smss.c [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -9,6 +9,9 @@
/* INCLUDES *******************************************************************/
#include "smss.h"
+
+#include <pseh/pseh2.h>
+
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/base/system/smss/smss.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smss.h?re…
==============================================================================
--- trunk/reactos/base/system/smss/smss.h [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smss.h [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -10,17 +10,14 @@
#ifndef _SM_
#define _SM_
-//
-// Native Headers
-//
+#include <stdio.h>
+
+/* Native Headers */
#define WIN32_NO_STATUS
-#include <stdio.h>
-#include <stdarg.h>
#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
@@ -38,13 +35,10 @@
#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 @@
IN PRTL_USER_PROCESS_INFORMATION ProcessInformation
);
-#endif
+#endif /* _SM_ */
Modified: trunk/reactos/base/system/smss/smsubsys.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smsubsys.…
==============================================================================
--- trunk/reactos/base/system/smss/smsubsys.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smsubsys.c [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -9,6 +9,7 @@
/* INCLUDES *******************************************************************/
#include "smss.h"
+
#define NDEBUG
#include <debug.h>
@@ -674,4 +675,3 @@
/* Return status */
return Status;
}
-
Modified: trunk/reactos/base/system/smss/smutil.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smutil.c?…
==============================================================================
--- trunk/reactos/base/system/smss/smutil.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smutil.c [iso-8859-1] Mon Jan 13 13:16:07 2014
@@ -9,6 +9,9 @@
/* INCLUDES *******************************************************************/
#include "smss.h"
+
+#include <ndk/sefuncs.h>
+
#define NDEBUG
#include <debug.h>