Commit 04f9f1b0 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Don't include winbase.h or winerror.h when not necessary.

parent 390bc5f5
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <ctype.h> #include <ctype.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "ntstatus.h" #include "ntstatus.h"
#include "wine/server.h" #include "wine/server.h"
......
...@@ -79,7 +79,6 @@ ...@@ -79,7 +79,6 @@
#define NONAMELESSSTRUCT #define NONAMELESSSTRUCT
#include "ntstatus.h" #include "ntstatus.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "winioctl.h" #include "winioctl.h"
#include "ntddstor.h" #include "ntddstor.h"
......
...@@ -25,9 +25,7 @@ ...@@ -25,9 +25,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include "winerror.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <string.h> #include <string.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winnt.h" #include "winnt.h"
#include "winternl.h" #include "winternl.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include "wine/library.h" #include "wine/library.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "ntstatus.h" #include "ntstatus.h"
#include "winbase.h"
#include "winnt.h" #include "winnt.h"
#include "winternl.h" #include "winternl.h"
#include "excpt.h" #include "excpt.h"
......
...@@ -57,7 +57,6 @@ ...@@ -57,7 +57,6 @@
#define NONAMELESSUNION #define NONAMELESSUNION
#define NONAMELESSSTRUCT #define NONAMELESSSTRUCT
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winnt.h" #include "winnt.h"
#include "ntstatus.h" #include "ntstatus.h"
#include "winternl.h" #include "winternl.h"
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "ntstatus.h" #include "ntstatus.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "winerror.h" #include "winerror.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include "ntstatus.h" #include "ntstatus.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "wine/server.h" #include "wine/server.h"
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
......
...@@ -34,9 +34,7 @@ ...@@ -34,9 +34,7 @@
#define NONAMELESSSTRUCT #define NONAMELESSSTRUCT
#include "ntstatus.h" #include "ntstatus.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "winerror.h"
#include "winnt.h" #include "winnt.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "winternl.h" #include "winternl.h"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "ntstatus.h" #include "ntstatus.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
/* /*
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#define NONAMELESSSTRUCT #define NONAMELESSSTRUCT
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winnt.h" #include "winnt.h"
#include "winternl.h" #include "winternl.h"
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include <assert.h> #include <assert.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winternl.h" #include "winternl.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
#include "module.h" #include "module.h"
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include "wine/unicode.h" #include "wine/unicode.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
#include "wine/server.h" #include "wine/server.h"
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include "wine/debug.h" #include "wine/debug.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
#include "wine/server.h" #include "wine/server.h"
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#endif #endif
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winioctl.h" #include "winioctl.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include "wine/debug.h" #include "wine/debug.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
#include "wine/server.h" #include "wine/server.h"
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "winerror.h"
#include "wine/library.h" #include "wine/library.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <stdio.h> #include <stdio.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "excpt.h" #include "excpt.h"
#include "wine/exception.h" #include "wine/exception.h"
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include "winnls.h" #include "winnls.h"
#include "winnt.h" #include "winnt.h"
#include "winternl.h" #include "winternl.h"
#include "winerror.h"
#include "excpt.h" #include "excpt.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "wine/unicode.h" #include "wine/unicode.h"
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winternl.h" #include "winternl.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <string.h> #include <string.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#endif #endif
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
#include "excpt.h" #include "excpt.h"
......
...@@ -58,7 +58,6 @@ ...@@ -58,7 +58,6 @@
#include "wine/pthread.h" #include "wine/pthread.h"
#include "wine/server.h" #include "wine/server.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "winerror.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
WINE_DEFAULT_DEBUG_CHANNEL(server); WINE_DEFAULT_DEBUG_CHANNEL(server);
......
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
#endif #endif
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "thread.h" #include "thread.h"
#include "wine/library.h" #include "wine/library.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
......
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
#endif #endif
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "wine/library.h" #include "wine/library.h"
#include "wine/exception.h" #include "wine/exception.h"
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <sys/ucontext.h> #include <sys/ucontext.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "winnt.h" #include "winnt.h"
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include <string.h> #include <string.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
......
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
#define NONAMELESSSTRUCT #define NONAMELESSSTRUCT
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "thread.h" #include "thread.h"
#include "wine/server.h" #include "wine/server.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <stdio.h> #include <stdio.h>
#include "ntstatus.h" #include "ntstatus.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "ntdll_misc.h" #include "ntdll_misc.h"
......
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
#define NONAMELESSSTRUCT #define NONAMELESSSTRUCT
#include "ntstatus.h" #include "ntstatus.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "winioctl.h" #include "winioctl.h"
#include "wine/library.h" #include "wine/library.h"
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <stdio.h> #include <stdio.h>
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winternl.h" #include "winternl.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment