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

This commit is contained in:
Francois Gouget 2012-01-09 09:33:34 +01:00 committed by Alexandre Julliard
parent ee2111b5d5
commit daeb4d6d29
3 changed files with 2 additions and 3 deletions

View File

@ -2649,7 +2649,7 @@ CreateAdditionalSurfaces(IDirectDrawImpl *This,
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;
}

View File

@ -200,7 +200,6 @@ struct IDirectDrawSurfaceImpl
};
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,
DDSURFACEDESC2 *desc, UINT mip_level, UINT version) DECLSPEC_HIDDEN;
ULONG ddraw_surface_release_iface(IDirectDrawSurfaceImpl *This) DECLSPEC_HIDDEN;

View File

@ -429,7 +429,7 @@ static ULONG WINAPI d3d_texture1_AddRef(IDirect3DTexture *iface)
* This: Surface to free
*
*****************************************************************************/
void ddraw_surface_destroy(IDirectDrawSurfaceImpl *This)
static void ddraw_surface_destroy(IDirectDrawSurfaceImpl *This)
{
TRACE("surface %p.\n", This);