Author: akhaldi
Date: Sun Jan 19 10:37:02 2014
New Revision: 61698
URL:
http://svn.reactos.org/svn/reactos?rev=61698&view=rev
Log:
[POWERCFG]
* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716
Modified:
trunk/reactos/dll/cpl/powercfg/advanced.c
trunk/reactos/dll/cpl/powercfg/hibernate.c
trunk/reactos/dll/cpl/powercfg/powercfg.c
trunk/reactos/dll/cpl/powercfg/powercfg.h
Modified: trunk/reactos/dll/cpl/powercfg/advanced.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/advanced.…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/advanced.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/advanced.c [iso-8859-1] Sun Jan 19 10:37:02 2014
@@ -8,10 +8,6 @@
* Martin Rottensteiner
* Dmitry Chapyshev (lentind(a)yandex.ru)
*/
-
-//#ifndef NSTATUS
-//typedef long NTSTATUS;
-//#endif
#include "powercfg.h"
Modified: trunk/reactos/dll/cpl/powercfg/hibernate.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/hibernate…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/hibernate.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/hibernate.c [iso-8859-1] Sun Jan 19 10:37:02 2014
@@ -8,10 +8,6 @@
* Martin Rottensteiner
* Dmitry Chapyshev (lentind(a)yandex.ru)
*/
-
-//#ifndef NSTATUS
-//typedef long NTSTATUS;
-//#endif
#include "powercfg.h"
Modified: trunk/reactos/dll/cpl/powercfg/powercfg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/powercfg.…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/powercfg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/powercfg.c [iso-8859-1] Sun Jan 19 10:37:02 2014
@@ -10,6 +10,9 @@
*/
#include "powercfg.h"
+
+#include <winreg.h>
+#include <regstr.h>
#define NUM_APPLETS (1)
Modified: trunk/reactos/dll/cpl/powercfg/powercfg.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/powercfg.…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/powercfg.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/powercfg.h [iso-8859-1] Sun Jan 19 10:37:02 2014
@@ -1,15 +1,15 @@
+#include <stdarg.h>
+
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
#include <ntstatus.h>
#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
-#include <winreg.h>
#include <cpl.h>
#include <tchar.h>
#include <shlobj.h>
-#include <regstr.h>
#include <powrprof.h>
#include "resource.h"