Commit 1d5bc469 authored by Niels Kristian Bech Jensen's avatar Niels Kristian Bech Jensen Committed by Alexandre Julliard

Removed extra #include statements.

parent 86a75534
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
#include "module.h" #include "module.h"
#include "debugger.h" #include "debugger.h"
#include "win.h" #include "win.h"
#include "debugger.h"
#include "peexe.h" #include "peexe.h"
#include "pe_image.h" #include "pe_image.h"
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h>
#include "windef.h" #include "windef.h"
#include "debugger.h" #include "debugger.h"
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "pe_image.h" #include "pe_image.h"
#include "peexe.h" #include "peexe.h"
#include "debugger.h" #include "debugger.h"
#include "peexe.h"
#include "task.h" #include "task.h"
struct searchlist struct searchlist
......
...@@ -37,9 +37,6 @@ ...@@ -37,9 +37,6 @@
#ifdef HAVE_LINK_H #ifdef HAVE_LINK_H
# include <link.h> # include <link.h>
#endif #endif
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
#elif defined(__EMX__) #elif defined(__EMX__)
#ifdef HAVE_A_OUT_H #ifdef HAVE_A_OUT_H
# include <a_out.h> # include <a_out.h>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "pe_image.h" #include "pe_image.h"
#include "peexe.h" #include "peexe.h"
#include "debugger.h" #include "debugger.h"
#include "peexe.h"
#define NR_TYPE_HASH 521 #define NR_TYPE_HASH 521
......
...@@ -59,7 +59,6 @@ ...@@ -59,7 +59,6 @@
#define LITTLE_ENDIAN 1234 #define LITTLE_ENDIAN 1234
#endif #endif
#ifndef BYTE_ORDER #ifndef BYTE_ORDER
#include "config.h"
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
#define BYTE_ORDER BIG_ENDIAN #define BYTE_ORDER BIG_ENDIAN
#else #else
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "winnls.h" #include "winnls.h"
#include "debugstr.h" #include "debugstr.h"
#include "debugtools.h" #include "debugtools.h"
#include "winuser.h"
#include "winerror.h" #include "winerror.h"
#include "stackframe.h" #include "stackframe.h"
......
...@@ -116,7 +116,6 @@ typedef struct trapframe SIGCONTEXT; ...@@ -116,7 +116,6 @@ typedef struct trapframe SIGCONTEXT;
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#include <signal.h>
typedef struct sigcontext SIGCONTEXT; typedef struct sigcontext SIGCONTEXT;
#define HANDLER_DEF(name) void name( int __signal, int code, SIGCONTEXT *__context ) #define HANDLER_DEF(name) void name( int __signal, int code, SIGCONTEXT *__context )
...@@ -126,7 +125,6 @@ typedef struct sigcontext SIGCONTEXT; ...@@ -126,7 +125,6 @@ typedef struct sigcontext SIGCONTEXT;
#if defined(__svr4__) || defined(_SCO_DS) || defined(__sun) #if defined(__svr4__) || defined(_SCO_DS) || defined(__sun)
#include <signal.h>
#ifdef _SCO_DS #ifdef _SCO_DS
#include <sys/regset.h> #include <sys/regset.h>
#endif #endif
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "monitor.h" #include "monitor.h"
#include "palette.h" #include "palette.h"
#include "windef.h" #include "windef.h"
#include "wine/winuser16.h"
DEFAULT_DEBUG_CHANNEL(wing) DEFAULT_DEBUG_CHANNEL(wing)
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "digitalv.h" #include "digitalv.h"
#include "options.h" #include "options.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "winuser.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(mci) DEFAULT_DEBUG_CHANNEL(mci)
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
*/ */
#include "config.h" #include "config.h"
#include "winerror.h"
#ifndef X_DISPLAY_MISSING #ifndef X_DISPLAY_MISSING
...@@ -51,7 +52,6 @@ ...@@ -51,7 +52,6 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "winerror.h"
#include "gdi.h" #include "gdi.h"
#include "heap.h" #include "heap.h"
#include "dc.h" #include "dc.h"
...@@ -5251,7 +5251,6 @@ DWORD WINAPI DDRAW_DllCanUnloadNow(void) ...@@ -5251,7 +5251,6 @@ DWORD WINAPI DDRAW_DllCanUnloadNow(void)
#else /* !defined(X_DISPLAY_MISSING) */ #else /* !defined(X_DISPLAY_MISSING) */
#include "windef.h" #include "windef.h"
#include "winerror.h"
#include "wtypes.h" #include "wtypes.h"
#define DD_OK 0 #define DD_OK 0
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "gdi.h" #include "gdi.h"
#include "dc.h" #include "dc.h"
#include "monitor.h" #include "monitor.h"
#include "bitmap.h"
#include "callback.h" #include "callback.h"
#include "metafile.h" #include "metafile.h"
#include "palette.h" #include "palette.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include "options.h" #include "options.h"
#include "loadorder.h" #include "loadorder.h"
#include "heap.h" #include "heap.h"
#include "options.h"
#include "module.h" #include "module.h"
#include "elfdll.h" #include "elfdll.h"
#include "debugtools.h" #include "debugtools.h"
......
...@@ -49,7 +49,6 @@ ...@@ -49,7 +49,6 @@
#include "win16drv.h" #include "win16drv.h"
#include "callback.h" #include "callback.h"
#include "server.h" #include "server.h"
#include "cursoricon.h"
#include "loadorder.h" #include "loadorder.h"
DEFAULT_DEBUG_CHANNEL(server) DEFAULT_DEBUG_CHANNEL(server)
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "wine/winuser16.h" #include "wine/winuser16.h"
#include "module.h" #include "module.h"
#include "debugtools.h" #include "debugtools.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(resource) DEFAULT_DEBUG_CHANNEL(resource)
......
...@@ -23,15 +23,12 @@ ...@@ -23,15 +23,12 @@
#include "task.h" #include "task.h"
#include "global.h" #include "global.h"
#include "process.h" #include "process.h"
#include "toolhelp.h"
#include "snoop.h" #include "snoop.h"
#include "builtin16.h" #include "builtin16.h"
#include "stackframe.h" #include "stackframe.h"
#include "debugtools.h" #include "debugtools.h"
#include "file.h"
#include "loadorder.h" #include "loadorder.h"
#include "elfdll.h" #include "elfdll.h"
#include "toolhelp.h"
DEFAULT_DEBUG_CHANNEL(module) DEFAULT_DEBUG_CHANNEL(module)
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "toolhelp.h" #include "toolhelp.h"
#include "winnt.h" #include "winnt.h"
#include "winsock.h" #include "winsock.h"
#include "thread.h"
#include "syslevel.h" #include "syslevel.h"
#include "debugtools.h" #include "debugtools.h"
#include "dosexe.h" #include "dosexe.h"
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include "global.h" #include "global.h"
#include "winnt.h" #include "winnt.h"
#include "winerror.h" #include "winerror.h"
#include "winreg.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(reg) DEFAULT_DEBUG_CHANNEL(reg)
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "options.h" #include "options.h"
#include "miscemu.h" #include "miscemu.h"
#include "debugtools.h" #include "debugtools.h"
#include "miscemu.h"
DEFAULT_DEBUG_CHANNEL(int) DEFAULT_DEBUG_CHANNEL(int)
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include "olectl.h" #include "olectl.h"
#include "oleidl.h" #include "oleidl.h"
#include "oaidl.h" #include "oaidl.h"
#include "olectl.h"
#include "ocidl.h" #include "ocidl.h"
#include "objbase.h" #include "objbase.h"
#include "servprov.h" #include "servprov.h"
...@@ -25,9 +24,7 @@ ...@@ -25,9 +24,7 @@
#include "dplay.h" #include "dplay.h"
#include "dplobby.h" #include "dplobby.h"
#include "vfw.h" #include "vfw.h"
#include "shlguid.h"
#include "shlobj.h" #include "shlobj.h"
#include "docobj.h"
/* and now for the one assumed GUID... */ /* and now for the one assumed GUID... */
DEFINE_GUID(GUID_NULL, 0,0,0,0,0,0,0,0,0,0,0); DEFINE_GUID(GUID_NULL, 0,0,0,0,0,0,0,0,0,0,0);
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
#ifdef LCC #ifdef LCC
#include "lcc.h" #include "lcc.h"
#else
#include "shell.h"
#endif #endif
#include "main.h" #include "main.h"
...@@ -19,10 +17,13 @@ ...@@ -19,10 +17,13 @@
#include "dialog.h" #include "dialog.h"
#include "language.h" #include "language.h"
#if !defined(LCC) || defined(WINELIB)
#include "shell.h"
#endif
#ifdef WINELIB #ifdef WINELIB
#include "options.h" #include "options.h"
#include "resource.h" #include "resource.h"
#include "shell.h"
void LIBWINE_Register_Da(); void LIBWINE_Register_Da();
void LIBWINE_Register_De(); void LIBWINE_Register_De();
void LIBWINE_Register_En(); void LIBWINE_Register_En();
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include "debugtools.h"
#include "winerror.h" #include "winerror.h"
#include "winbase.h" #include "winbase.h"
#include "heap.h" #include "heap.h"
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "thread.h" #include "thread.h"
#include "winerror.h" #include "winerror.h"
#include "pe_image.h" #include "pe_image.h"
#include "task.h"
#include "server.h" #include "server.h"
#include "options.h" #include "options.h"
#include "callback.h" #include "callback.h"
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <sys/uio.h> #include <sys/uio.h>
#include <unistd.h> #include <unistd.h>
#include "config.h"
#include "object.h" #include "object.h"
#include "request.h" #include "request.h"
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include <string.h>
#include "wrc.h" #include "wrc.h"
#include "newstruc.h" #include "newstruc.h"
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H #ifdef HAVE_SYS_ERRNO_H
......
...@@ -19,9 +19,7 @@ ...@@ -19,9 +19,7 @@
#include "neexe.h" #include "neexe.h"
#include "process.h" #include "process.h"
#include "stackframe.h" #include "stackframe.h"
#include "heap.h"
#include "selectors.h" #include "selectors.h"
#include "task.h"
#include "file.h" #include "file.h"
#include "debugtools.h" #include "debugtools.h"
#include "flatthunk.h" #include "flatthunk.h"
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include "x11drv.h" #include "x11drv.h"
#include "xmalloc.h" #include "xmalloc.h"
#include "version.h" #include "version.h"
#include "win.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