Module: wine Branch: master Commit: 96e81f069822e1e747543b2df72062569e2101f6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=96e81f069822e1e747543b2df7...
Author: Francois Gouget fgouget@free.fr Date: Mon Jan 26 12:53:22 2009 +0100
ddraw: Make some device_parent_*() functions static.
---
dlls/ddraw/ddraw.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index b185725..7666512 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -3389,19 +3389,19 @@ static inline struct IDirectDrawImpl *ddraw_from_device_parent(IWineD3DDevicePar return (struct IDirectDrawImpl *)((char*)iface - FIELD_OFFSET(struct IDirectDrawImpl, 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 IDirectDrawImpl *This = ddraw_from_device_parent(iface); return IDirectDrawImpl_QueryInterface((IDirectDraw7 *)This, riid, object); }
-ULONG STDMETHODCALLTYPE device_parent_AddRef(IWineD3DDeviceParent *iface) +static ULONG STDMETHODCALLTYPE device_parent_AddRef(IWineD3DDeviceParent *iface) { struct IDirectDrawImpl *This = ddraw_from_device_parent(iface); return IDirectDrawImpl_AddRef((IDirectDraw7 *)This); }
-ULONG STDMETHODCALLTYPE device_parent_Release(IWineD3DDeviceParent *iface) +static ULONG STDMETHODCALLTYPE device_parent_Release(IWineD3DDeviceParent *iface) { struct IDirectDrawImpl *This = ddraw_from_device_parent(iface); return IDirectDrawImpl_Release((IDirectDraw7 *)This);