Francois Gouget : d3d8: Make some device_parent_*() functions static.

Alexandre Julliard julliard at winehq.org
Mon Jan 26 10:14:34 CST 2009


Module: wine
Branch: master
Commit: 1f601015cda20b5ff863cbe9b000f61e2ac9b040
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1f601015cda20b5ff863cbe9b000f61e2ac9b040

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Jan 26 12:53:26 2009 +0100

d3d8: Make some device_parent_*() functions static.

---

 dlls/d3d8/device.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index 5ef6311..9e3fb69 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -2265,19 +2265,19 @@ static inline struct IDirect3DDevice8Impl *device_from_device_parent(IWineD3DDev
             - FIELD_OFFSET(struct IDirect3DDevice8Impl, device_parent_vtbl));
 }
 
-HRESULT STDMETHODCALLTYPE device_parent_QueryInterface(IWineD3DDeviceParent *iface, REFIID riid, void **object)
+static HRESULT STDMETHODCALLTYPE device_parent_QueryInterface(IWineD3DDeviceParent *iface, REFIID riid, void **object)
 {
     struct IDirect3DDevice8Impl *This = device_from_device_parent(iface);
     return IDirect3DDevice8Impl_QueryInterface((IDirect3DDevice8 *)This, riid, object);
 }
 
-ULONG STDMETHODCALLTYPE device_parent_AddRef(IWineD3DDeviceParent *iface)
+static ULONG STDMETHODCALLTYPE device_parent_AddRef(IWineD3DDeviceParent *iface)
 {
     struct IDirect3DDevice8Impl *This = device_from_device_parent(iface);
     return IDirect3DDevice8Impl_AddRef((IDirect3DDevice8 *)This);
 }
 
-ULONG STDMETHODCALLTYPE device_parent_Release(IWineD3DDeviceParent *iface)
+static ULONG STDMETHODCALLTYPE device_parent_Release(IWineD3DDeviceParent *iface)
 {
     struct IDirect3DDevice8Impl *This = device_from_device_parent(iface);
     return IDirect3DDevice8Impl_Release((IDirect3DDevice8 *)This);




More information about the wine-cvs mailing list