From 49e13df700743d4ba59a583db21e8dc9eefae3b9 Mon Sep 17 00:00:00 2001 From: Jon Griffiths Date: Fri, 17 Dec 2004 19:09:29 +0000 Subject: [PATCH] Remove unneeded headers to reduce unneeded rebuilds. --- dlls/ntdll/reg.c | 5 ----- dlls/ntdll/rtl.c | 1 - dlls/ntdll/rtlbitmap.c | 1 - dlls/ntdll/sec.c | 3 --- dlls/ntdll/string.c | 1 - dlls/ntdll/sync.c | 1 - dlls/ntdll/tests/error.c | 1 - dlls/ntdll/tests/large_int.c | 1 - dlls/ntdll/tests/rtl.c | 1 - dlls/ntdll/tests/string.c | 1 - dlls/ntdll/version.c | 4 ---- dlls/ntdll/wcstring.c | 1 - dlls/shlwapi/ordinal.c | 3 --- dlls/shlwapi/stopwatch.c | 5 ----- dlls/shlwapi/tests/clsid.c | 5 ----- dlls/shlwapi/tests/ordinal.c | 5 ----- 16 files changed, 39 deletions(-) diff --git a/dlls/ntdll/reg.c b/dlls/ntdll/reg.c index ea9fee60583..0d097fc8c7e 100644 --- a/dlls/ntdll/reg.c +++ b/dlls/ntdll/reg.c @@ -33,13 +33,8 @@ #include #include "winerror.h" -#include "wine/unicode.h" #include "wine/library.h" -#include "wine/server.h" -#include "windef.h" -#include "winbase.h" #include "winreg.h" -#include "winternl.h" #include "ntdll_misc.h" #include "wine/debug.h" diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c index d06c6679ece..7fd392ffd27 100644 --- a/dlls/ntdll/rtl.c +++ b/dlls/ntdll/rtl.c @@ -35,7 +35,6 @@ #include "winerror.h" #include "winreg.h" #include "winternl.h" -#include "wine/unicode.h" #include "wine/debug.h" #include "ntdll_misc.h" diff --git a/dlls/ntdll/rtlbitmap.c b/dlls/ntdll/rtlbitmap.c index 599e6135dd5..d971bca2ad9 100644 --- a/dlls/ntdll/rtlbitmap.c +++ b/dlls/ntdll/rtlbitmap.c @@ -31,7 +31,6 @@ #include #include #include -#include "ntstatus.h" #include "windef.h" #include "winbase.h" #include "winreg.h" diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c index f5fa23fb105..1a862667fb3 100644 --- a/dlls/ntdll/sec.c +++ b/dlls/ntdll/sec.c @@ -35,10 +35,7 @@ #include "windef.h" #include "winbase.h" #include "wine/exception.h" -#include "winnls.h" -#include "winerror.h" #include "winreg.h" -#include "winternl.h" #include "ntdll_misc.h" #include "excpt.h" #include "wine/library.h" diff --git a/dlls/ntdll/string.c b/dlls/ntdll/string.c index d0079679768..769f16fd6ed 100644 --- a/dlls/ntdll/string.c +++ b/dlls/ntdll/string.c @@ -26,7 +26,6 @@ #include #include -#include "ntstatus.h" #include "windef.h" #include "winbase.h" #include "winreg.h" diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c index 9b1dc499a34..19733fbb808 100644 --- a/dlls/ntdll/sync.c +++ b/dlls/ntdll/sync.c @@ -54,7 +54,6 @@ #include "async.h" #include "thread.h" #include "wine/server.h" -#include "wine/unicode.h" #include "wine/debug.h" #include "ntdll_misc.h" diff --git a/dlls/ntdll/tests/error.c b/dlls/ntdll/tests/error.c index 83d5579cb8f..fc7666bc663 100644 --- a/dlls/ntdll/tests/error.c +++ b/dlls/ntdll/tests/error.c @@ -31,7 +31,6 @@ #include "rpcnterr.h" #include "winreg.h" #include "winternl.h" -#include "ntsecapi.h" /* FIXME!!! this test checks only mappings, defined by MSDN: * http://support.microsoft.com/default.aspx?scid=KB;EN-US;q113996& diff --git a/dlls/ntdll/tests/large_int.c b/dlls/ntdll/tests/large_int.c index db48d1adeb4..a9620cccce2 100644 --- a/dlls/ntdll/tests/large_int.c +++ b/dlls/ntdll/tests/large_int.c @@ -25,7 +25,6 @@ #include "ntdll_test.h" -#include "winnls.h" /* Function ptrs for ntdll calls */ static HMODULE hntdll = 0; diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c index e7f19b7d5c8..521ffb4b332 100644 --- a/dlls/ntdll/tests/rtl.c +++ b/dlls/ntdll/tests/rtl.c @@ -24,7 +24,6 @@ #include #include "ntdll_test.h" -#include "winnls.h" /* Function ptrs for ntdll calls */ static HMODULE hntdll = 0; diff --git a/dlls/ntdll/tests/string.c b/dlls/ntdll/tests/string.c index ac08ffab38c..b3d7bed4a34 100644 --- a/dlls/ntdll/tests/string.c +++ b/dlls/ntdll/tests/string.c @@ -25,7 +25,6 @@ #include "ntdll_test.h" -#include "winnls.h" /* Function ptrs for ntdll calls */ static HMODULE hntdll = 0; diff --git a/dlls/ntdll/version.c b/dlls/ntdll/version.c index 2a804a33d45..82cf3268fa2 100644 --- a/dlls/ntdll/version.c +++ b/dlls/ntdll/version.c @@ -31,11 +31,7 @@ #include "ntstatus.h" #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" #include "winreg.h" -#include "winternl.h" -#include "winerror.h" #include "wine/unicode.h" #include "wine/debug.h" #include "ntdll_misc.h" diff --git a/dlls/ntdll/wcstring.c b/dlls/ntdll/wcstring.c index 1d997cbbb54..be364ec7752 100644 --- a/dlls/ntdll/wcstring.c +++ b/dlls/ntdll/wcstring.c @@ -29,7 +29,6 @@ #include #include -#include "ntstatus.h" #include "windef.h" #include "winbase.h" #include "winreg.h" diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c index 981fe7e8898..b409a6cf412 100644 --- a/dlls/shlwapi/ordinal.c +++ b/dlls/shlwapi/ordinal.c @@ -42,15 +42,12 @@ #include "shlguid.h" #include "wingdi.h" #include "shlobj.h" -#include "olectl.h" #include "shellapi.h" #include "commdlg.h" #include "wine/unicode.h" -#include "servprov.h" #include "winreg.h" #include "wine/debug.h" #include "shlwapi.h" -#include "winnt.h" WINE_DEFAULT_DEBUG_CHANNEL(shell); diff --git a/dlls/shlwapi/stopwatch.c b/dlls/shlwapi/stopwatch.c index 8d8121544ac..4e092a45050 100644 --- a/dlls/shlwapi/stopwatch.c +++ b/dlls/shlwapi/stopwatch.c @@ -32,15 +32,10 @@ #define NONAMELESSUNION #define NONAMELESSSTRUCT -#include "wine/unicode.h" #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" #include "winreg.h" #include "winternl.h" -#define NO_SHLWAPI_STREAM -#include "shlwapi.h" #include "wine/debug.h" WINE_DEFAULT_DEBUG_CHANNEL(shell); diff --git a/dlls/shlwapi/tests/clsid.c b/dlls/shlwapi/tests/clsid.c index bc659555311..dc09cfafba6 100644 --- a/dlls/shlwapi/tests/clsid.c +++ b/dlls/shlwapi/tests/clsid.c @@ -28,11 +28,6 @@ #include "winuser.h" #include "shlguid.h" #include "shobjidl.h" -#define NO_SHLWAPI_REG -#define NO_SHLWAPI_PATH -#define NO_SHLWAPI_GDI -#define NO_SHLWAPI_STREAM -#include "shlwapi.h" /* Function ptrs for ordinal calls */ static HMODULE hShlwapi = 0; diff --git a/dlls/shlwapi/tests/ordinal.c b/dlls/shlwapi/tests/ordinal.c index 80aa38b2ad9..a97d6cb7264 100644 --- a/dlls/shlwapi/tests/ordinal.c +++ b/dlls/shlwapi/tests/ordinal.c @@ -24,11 +24,6 @@ #include "winbase.h" #include "winerror.h" #include "winuser.h" -#define NO_SHLWAPI_REG -#define NO_SHLWAPI_PATH -#define NO_SHLWAPI_GDI -#define NO_SHLWAPI_STREAM -#include "shlwapi.h" /* Function ptrs for ordinal calls */ static HMODULE hShlwapi;