Francois Gouget : d3drm: Make d3drm_device_set_ddraw_device_d3d() static.
Alexandre Julliard
julliard at winehq.org
Wed Jul 27 10:30:59 CDT 2016
Module: wine
Branch: master
Commit: 43cf833c5d69deebf3ab5dd9ff3fdf4052d0d68c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=43cf833c5d69deebf3ab5dd9ff3fdf4052d0d68c
Author: Francois Gouget <fgouget at free.fr>
Date: Tue Jul 26 16:52:04 2016 +0200
d3drm: Make d3drm_device_set_ddraw_device_d3d() static.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3drm/d3drm_private.h | 2 --
dlls/d3drm/device.c | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/d3drm/d3drm_private.h b/dlls/d3drm/d3drm_private.h
index 4394fcc..9bf7dff 100644
--- a/dlls/d3drm/d3drm_private.h
+++ b/dlls/d3drm/d3drm_private.h
@@ -106,8 +106,6 @@ HRESULT d3drm_device_create_surfaces_from_clipper(struct d3drm_device *object, I
void d3drm_device_destroy(struct d3drm_device *device) DECLSPEC_HIDDEN;
HRESULT d3drm_device_init(struct d3drm_device *device, UINT version, IDirectDraw *ddraw,
IDirectDrawSurface *surface, BOOL create_z_surface) DECLSPEC_HIDDEN;
-HRESULT d3drm_device_set_ddraw_device_d3d(struct d3drm_device *device,
- IDirect3D *d3d, IDirect3DDevice *d3d_device) DECLSPEC_HIDDEN;
void d3drm_object_init(struct d3drm_object *object) DECLSPEC_HIDDEN;
HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx) DECLSPEC_HIDDEN;
diff --git a/dlls/d3drm/device.c b/dlls/d3drm/device.c
index 449135a..fb83342 100644
--- a/dlls/d3drm/device.c
+++ b/dlls/d3drm/device.c
@@ -208,7 +208,7 @@ HRESULT d3drm_device_init(struct d3drm_device *device, UINT version, IDirectDraw
return hr;
}
-HRESULT d3drm_device_set_ddraw_device_d3d(struct d3drm_device *device, IDirect3D *d3d, IDirect3DDevice *d3d_device)
+static HRESULT d3drm_device_set_ddraw_device_d3d(struct d3drm_device *device, IDirect3D *d3d, IDirect3DDevice *d3d_device)
{
IDirectDraw *ddraw;
IDirectDrawSurface *surface;
More information about the wine-cvs
mailing list