Commit daeb4d6d authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ddraw: Make ddraw_reset_enum_callback() and ddraw_surface_destroy() static.

parent ee2111b5
...@@ -2649,7 +2649,7 @@ CreateAdditionalSurfaces(IDirectDrawImpl *This, ...@@ -2649,7 +2649,7 @@ CreateAdditionalSurfaces(IDirectDrawImpl *This,
return DD_OK; return DD_OK;
} }
HRESULT CDECL ddraw_reset_enum_callback(struct wined3d_resource *resource) static HRESULT CDECL ddraw_reset_enum_callback(struct wined3d_resource *resource)
{ {
return DD_OK; return DD_OK;
} }
......
...@@ -200,7 +200,6 @@ struct IDirectDrawSurfaceImpl ...@@ -200,7 +200,6 @@ struct IDirectDrawSurfaceImpl
}; };
HRESULT ddraw_surface_create_texture(IDirectDrawSurfaceImpl *surface) DECLSPEC_HIDDEN; HRESULT ddraw_surface_create_texture(IDirectDrawSurfaceImpl *surface) DECLSPEC_HIDDEN;
void ddraw_surface_destroy(IDirectDrawSurfaceImpl *surface) DECLSPEC_HIDDEN;
HRESULT ddraw_surface_init(IDirectDrawSurfaceImpl *surface, IDirectDrawImpl *ddraw, HRESULT ddraw_surface_init(IDirectDrawSurfaceImpl *surface, IDirectDrawImpl *ddraw,
DDSURFACEDESC2 *desc, UINT mip_level, UINT version) DECLSPEC_HIDDEN; DDSURFACEDESC2 *desc, UINT mip_level, UINT version) DECLSPEC_HIDDEN;
ULONG ddraw_surface_release_iface(IDirectDrawSurfaceImpl *This) DECLSPEC_HIDDEN; ULONG ddraw_surface_release_iface(IDirectDrawSurfaceImpl *This) DECLSPEC_HIDDEN;
......
...@@ -429,7 +429,7 @@ static ULONG WINAPI d3d_texture1_AddRef(IDirect3DTexture *iface) ...@@ -429,7 +429,7 @@ static ULONG WINAPI d3d_texture1_AddRef(IDirect3DTexture *iface)
* This: Surface to free * This: Surface to free
* *
*****************************************************************************/ *****************************************************************************/
void ddraw_surface_destroy(IDirectDrawSurfaceImpl *This) static void ddraw_surface_destroy(IDirectDrawSurfaceImpl *This)
{ {
TRACE("surface %p.\n", This); TRACE("surface %p.\n", This);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment