From ca988fa4019e52d94799d69305b03b8612e7b1c0 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 16 Mar 2011 08:26:52 +0100 Subject: [PATCH] gdiplus: Remove GdiplusShutdown() as it is redudant with GdiplusShutdown_wrapper(). --- dlls/gdiplus/gdiplus.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dlls/gdiplus/gdiplus.c b/dlls/gdiplus/gdiplus.c index fb159be55b2..8c086605aff 100644 --- a/dlls/gdiplus/gdiplus.c +++ b/dlls/gdiplus/gdiplus.c @@ -116,16 +116,17 @@ void WINAPI GdiplusNotificationUnhook(ULONG_PTR token) /***************************************************** * GdiplusShutdown [GDIPLUS.@] */ -void WINAPI GdiplusShutdown(ULONG_PTR token) -{ - /* FIXME: no object tracking */ -} - -/* "bricksntiles" expects a return value of 0, which native coincidentally gives */ ULONG WINAPI GdiplusShutdown_wrapper(ULONG_PTR token) { - GdiplusShutdown(token); + /* Notice the slightly different prototype from the official + * signature which forces us to use the the _wrapper suffix. + */ + /* FIXME: no object tracking */ + + /* "bricksntiles" expects a return value of 0, which native + * coincidentally gives. + */ return 0; }