diff --git a/dlls/ddraw/ddraw_private.h b/dlls/ddraw/ddraw_private.h index 2822585809f..700a781f164 100644 --- a/dlls/ddraw/ddraw_private.h +++ b/dlls/ddraw/ddraw_private.h @@ -37,7 +37,6 @@ #include "wine/list.h" #include "wine/wined3d.h" -extern const struct wined3d_parent_ops ddraw_surface_wined3d_parent_ops DECLSPEC_HIDDEN; extern const struct wined3d_parent_ops ddraw_null_wined3d_parent_ops DECLSPEC_HIDDEN; /* Typdef the interfaces */ diff --git a/dlls/ddraw/surface.c b/dlls/ddraw/surface.c index 8fc00e45605..cca17aba164 100644 --- a/dlls/ddraw/surface.c +++ b/dlls/ddraw/surface.c @@ -5585,7 +5585,7 @@ static void STDMETHODCALLTYPE ddraw_surface_wined3d_object_destroyed(void *paren HeapFree(GetProcessHeap(), 0, surface); } -const struct wined3d_parent_ops ddraw_surface_wined3d_parent_ops = +static const struct wined3d_parent_ops ddraw_surface_wined3d_parent_ops = { ddraw_surface_wined3d_object_destroyed, };