From 364c0d53f9fb9e85912f6c88ee798949ce295367 Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Mon, 24 Jan 2005 13:31:27 +0000 Subject: [PATCH] Remove unused includes. --- dlls/dsound/buffer.c | 16 ---------------- dlls/dsound/capture.c | 15 ++------------- dlls/dsound/dsound.c | 17 ----------------- dlls/dsound/dsound_main.c | 21 +-------------------- dlls/dsound/mixer.c | 16 ++-------------- dlls/dsound/primary.c | 17 ++--------------- dlls/dsound/propset.c | 15 --------------- dlls/dsound/regsvr.c | 5 ++--- dlls/dsound/sound3d.c | 14 -------------- 9 files changed, 9 insertions(+), 127 deletions(-) diff --git a/dlls/dsound/buffer.c b/dlls/dsound/buffer.c index d416c85c72..43d1ff674f 100644 --- a/dlls/dsound/buffer.c +++ b/dlls/dsound/buffer.c @@ -19,31 +19,15 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include -#include #define NONAMELESSSTRUCT #define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" -#include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/capture.c b/dlls/dsound/capture.c index 1d4e4ea64a..4f806255a1 100644 --- a/dlls/dsound/capture.c +++ b/dlls/dsound/capture.c @@ -24,23 +24,12 @@ * Implement FX support. */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include +#define NONAMELESSSTRUCT +#define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "mmddk.h" #include "winreg.h" diff --git a/dlls/dsound/dsound.c b/dlls/dsound/dsound.c index fcd097553f..cbd455fb17 100644 --- a/dlls/dsound/dsound.c +++ b/dlls/dsound/dsound.c @@ -20,38 +20,21 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" -#include "wine/port.h" - #include #include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include #define NONAMELESSSTRUCT #define NONAMELESSUNION #include "windef.h" #include "winbase.h" #include "winreg.h" -#include "winuser.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winternl.h" #include "mmddk.h" -#include "wine/windef16.h" -#include "wine/winbase16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" #include "dsound_private.h" -#include "dsconf.h" WINE_DEFAULT_DEBUG_CHANNEL(dsound); diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c index d3cf0f91f1..c22adce3b0 100644 --- a/dlls/dsound/dsound_main.c +++ b/dlls/dsound/dsound_main.c @@ -36,37 +36,18 @@ * Optimize WINMM and negotiate fragment size, decrease DS_HEL_MARGIN */ -#include "config.h" -#include "wine/port.h" - -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include -#include #define COBJMACROS #define NONAMELESSSTRUCT #define NONAMELESSUNION - #include "windef.h" #include "winbase.h" +#include "winnls.h" #include "winreg.h" -#include "winuser.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winternl.h" #include "mmddk.h" -#include "wine/windef16.h" -#include "wine/winbase16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index d66ffc28f5..eb7fb35856 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c @@ -19,29 +19,17 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" #include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include #include /* Insomnia - pow() function */ +#define NONAMELESSSTRUCT +#define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" -#include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c index ca70d213d8..d27f507503 100644 --- a/dlls/dsound/primary.c +++ b/dlls/dsound/primary.c @@ -19,29 +19,16 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include -#include /* Insomnia - pow() function */ +#define NONAMELESSSTRUCT +#define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" #include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/propset.c b/dlls/dsound/propset.c index d0507c3126..ad5d9f55b6 100644 --- a/dlls/dsound/propset.c +++ b/dlls/dsound/propset.c @@ -19,32 +19,17 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -#include -#endif -#include -#include -#include /* Insomnia - pow() function */ #define NONAMELESSUNION #define NONAMELESSSTRUCT #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" #include "winnls.h" #include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/regsvr.c b/dlls/dsound/regsvr.c index 109ca747bf..0636c5aa13 100644 --- a/dlls/dsound/regsvr.c +++ b/dlls/dsound/regsvr.c @@ -19,14 +19,13 @@ */ #include -#include +#define NONAMELESSSTRUCT +#define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" #include "winuser.h" #include "winreg.h" -#include "winerror.h" #include "mmsystem.h" #include "dsound.h" diff --git a/dlls/dsound/sound3d.c b/dlls/dsound/sound3d.c index 6b9632893e..969bc94e9f 100644 --- a/dlls/dsound/sound3d.c +++ b/dlls/dsound/sound3d.c @@ -37,31 +37,17 @@ * Optimize WINMM and negotiate fragment size, decrease DS_HEL_MARGIN */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include #include /* Insomnia - pow() function */ #define NONAMELESSUNION #define NONAMELESSSTRUCT #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" #include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h"