Alexandre Julliard : d3d8: Remove redundant includes.
Alexandre Julliard
julliard at winehq.org
Mon Dec 23 17:42:11 CST 2019
Module: wine
Branch: master
Commit: b1bb52ad682cd93d02825fe8d9467f39c7920b53
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b1bb52ad682cd93d02825fe8d9467f39c7920b53
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Dec 23 11:30:54 2019 +0100
d3d8: Remove redundant includes.
They cause warnings because NONAMELESSUNION has to be defined first.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d8/device.c | 9 ---------
dlls/d3d8/directx.c | 8 --------
2 files changed, 17 deletions(-)
diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index d4fc80272e..bcd25e9245 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -19,15 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <math.h>
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "winuser.h"
-#include "wingdi.h"
-#include "wine/debug.h"
-
#include "d3d8_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d8);
diff --git a/dlls/d3d8/directx.c b/dlls/d3d8/directx.c
index 742117bd71..9a9abeccca 100644
--- a/dlls/d3d8/directx.c
+++ b/dlls/d3d8/directx.c
@@ -20,14 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "wine/debug.h"
-
#include "d3d8_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d8);
More information about the wine-cvs
mailing list