[USER32]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 4 Feb 2014 19:40:45 +0000 (19:40 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 4 Feb 2014 19:40:45 +0000 (19:40 +0000)
* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61984

reactos/win32ss/user/user32/include/ntwrapper.h
reactos/win32ss/user/user32/include/regcontrol.h
reactos/win32ss/user/user32/include/user32.h
reactos/win32ss/user/user32/include/user_x.h
reactos/win32ss/user/user32/misc/dllmain.c
reactos/win32ss/user/user32/misc/imm.c
reactos/win32ss/user/user32/windows/input.c

index b2ec18e..8da9a02 100644 (file)
@@ -1,3 +1,5 @@
+#pragma once
+
 #if defined(__GNUC__)
 #define EXTINLINE extern inline __attribute__((always_inline)) 
 #elif defined(_MSC_VER)
index daed43b..568913c 100644 (file)
@@ -7,6 +7,7 @@
  * REVISION HISTORY: 2003/06/16 GvG Created
  * NOTES:
  */
+
 #pragma once
 
 /* Built-in class descriptor */
index cc13bed..554e418 100644 (file)
@@ -9,9 +9,7 @@
 /* INCLUDES ******************************************************************/
 
 /* C Headers */
-#include <assert.h>
 #include <stdio.h>
-#include <math.h>
 
 /* SDK/NDK Headers */
 #define _USER32_
@@ -22,7 +20,6 @@
 #define COM_NO_WINDOWS_H
 #include <windef.h>
 #include <winbase.h>
-#include <wincon.h>
 #include <wingdi.h>
 #include <winreg.h>
 #include <winuser.h>
 #include <ddeml.h>
 #include <dde.h>
 #include <windowsx.h>
-#include <winnls32.h>
-#include <strsafe.h>
-#include <ndk/cmfuncs.h>
 #include <ndk/kefuncs.h>
 #include <ndk/obfuncs.h>
 #include <ndk/rtlfuncs.h>
-#include <ndk/umfuncs.h>
 
 /* CSRSS Header */
 #include <csr/csr.h>
index 207df9c..5072b1b 100644 (file)
@@ -1,5 +1,7 @@
 #include <user32.h>
 
+#include <ndk/cmfuncs.h>
+
 #include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
index 13beaaf..088b3ec 100644 (file)
@@ -10,6 +10,8 @@
 
 #include <user32.h>
 
+#include <winnls32.h>
+
 #include <wine/debug.h>
 
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
index b9c1d88..3e50a29 100644 (file)
@@ -29,6 +29,8 @@
 
 #include <user32.h>
 
+#include <strsafe.h>
+
 #include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);