From 15846adef078c84c2d2cca54f9addfc1b9a2dcb7 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 12 Jun 2012 10:26:17 +0200 Subject: [PATCH] gdiplus: Make get_font_hfont() static. --- dlls/gdiplus/gdiplus_private.h | 2 -- dlls/gdiplus/graphics.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/gdiplus/gdiplus_private.h b/dlls/gdiplus/gdiplus_private.h index 753a162d8ec..322fb024e3d 100644 --- a/dlls/gdiplus/gdiplus_private.h +++ b/dlls/gdiplus/gdiplus_private.h @@ -63,8 +63,6 @@ extern void calc_curve_bezier_endp(REAL xend, REAL yend, REAL xadj, REAL yadj, extern void free_installed_fonts(void) DECLSPEC_HIDDEN; -extern void get_font_hfont(GpGraphics *graphics, GDIPCONST GpFont *font, HFONT *hfont) DECLSPEC_HIDDEN; - extern BOOL lengthen_path(GpPath *path, INT len) DECLSPEC_HIDDEN; extern GpStatus trace_path(GpGraphics *graphics, GpPath *path) DECLSPEC_HIDDEN; diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index c6e6a6e50fe..2e3d0b5ec23 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -2113,7 +2113,7 @@ end: return stat; } -void get_font_hfont(GpGraphics *graphics, GDIPCONST GpFont *font, HFONT *hfont) +static void get_font_hfont(GpGraphics *graphics, GDIPCONST GpFont *font, HFONT *hfont) { HDC hdc = CreateCompatibleDC(0); GpPointF pt[3]; -- 2.11.4.GIT