[DSOUND] remove unused includes
Robert Reif
reif at earthlink.net
Sat Jan 22 14:28:49 CST 2005
Remove unused includes.
-------------- next part --------------
Index: dlls/dsound/buffer.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/buffer.c,v
retrieving revision 1.41
diff -p -u -r1.41 buffer.c
--- dlls/dsound/buffer.c 23 Dec 2004 18:41:06 -0000 1.41
+++ dlls/dsound/buffer.c 22 Jan 2005 20:24:47 -0000
@@ -19,31 +19,15 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "config.h"
-#include <assert.h>
#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
-#include <math.h>
#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"
Index: dlls/dsound/capture.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/capture.c,v
retrieving revision 1.40
diff -p -u -r1.40 capture.c
--- dlls/dsound/capture.c 9 Jan 2005 16:42:53 -0000 1.40
+++ dlls/dsound/capture.c 22 Jan 2005 20:24:49 -0000
@@ -24,23 +24,12 @@
* Implement FX support.
*/
-#include "config.h"
-#include <assert.h>
#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
+#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"
Index: dlls/dsound/dsound.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/dsound.c,v
retrieving revision 1.24
diff -p -u -r1.24 dsound.c
--- dlls/dsound/dsound.c 7 Dec 2004 14:23:46 -0000 1.24
+++ dlls/dsound/dsound.c 22 Jan 2005 20:24:50 -0000
@@ -20,38 +20,21 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "config.h"
-#include "wine/port.h"
-
#include <stdarg.h>
#include <stdio.h>
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
#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);
Index: dlls/dsound/dsound_main.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/dsound_main.c,v
retrieving revision 1.111
diff -p -u -r1.111 dsound_main.c
--- dlls/dsound/dsound_main.c 14 Jan 2005 15:12:43 -0000 1.111
+++ dlls/dsound/dsound_main.c 22 Jan 2005 20:24:50 -0000
@@ -36,37 +36,18 @@
* Optimize WINMM and negotiate fragment size, decrease DS_HEL_MARGIN
*/
-#include "config.h"
-#include "wine/port.h"
-
-#include <assert.h>
#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
-#include <math.h>
#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"
Index: dlls/dsound/mixer.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/mixer.c,v
retrieving revision 1.26
diff -p -u -r1.26 mixer.c
--- dlls/dsound/mixer.c 8 Sep 2004 01:37:25 -0000 1.26
+++ dlls/dsound/mixer.c 22 Jan 2005 20:24:51 -0000
@@ -19,29 +19,17 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "config.h"
#include <assert.h>
#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
#include <math.h> /* 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"
Index: dlls/dsound/primary.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/primary.c,v
retrieving revision 1.37
diff -p -u -r1.37 primary.c
--- dlls/dsound/primary.c 23 Dec 2004 18:41:06 -0000 1.37
+++ dlls/dsound/primary.c 22 Jan 2005 20:24:52 -0000
@@ -19,29 +19,16 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "config.h"
-#include <assert.h>
#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
-#include <math.h> /* 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"
Index: dlls/dsound/propset.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/propset.c,v
retrieving revision 1.29
diff -p -u -r1.29 propset.c
--- dlls/dsound/propset.c 9 Jan 2005 16:42:53 -0000 1.29
+++ dlls/dsound/propset.c 22 Jan 2005 20:24:53 -0000
@@ -19,32 +19,17 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "config.h"
-#include <assert.h>
#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
-#include <math.h> /* 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"
Index: dlls/dsound/regsvr.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/regsvr.c,v
retrieving revision 1.2
diff -p -u -r1.2 regsvr.c
--- dlls/dsound/regsvr.c 5 Sep 2003 23:08:38 -0000 1.2
+++ dlls/dsound/regsvr.c 22 Jan 2005 20:24:53 -0000
@@ -19,14 +19,13 @@
*/
#include <stdarg.h>
-#include <string.h>
+#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"
Index: dlls/dsound/sound3d.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/sound3d.c,v
retrieving revision 1.37
diff -p -u -r1.37 sound3d.c
--- dlls/dsound/sound3d.c 9 Dec 2004 14:07:59 -0000 1.37
+++ dlls/dsound/sound3d.c 22 Jan 2005 20:24:54 -0000
@@ -37,31 +37,17 @@
* Optimize WINMM and negotiate fragment size, decrease DS_HEL_MARGIN
*/
-#include "config.h"
-#include <assert.h>
#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
#include <math.h> /* 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"
More information about the wine-patches
mailing list