Francois Gouget : gdiplus: Make get_font_hfont() static.

Alexandre Julliard julliard at winehq.org
Tue Jun 12 13:36:32 CDT 2012


Module: wine
Branch: master
Commit: 15846adef078c84c2d2cca54f9addfc1b9a2dcb7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=15846adef078c84c2d2cca54f9addfc1b9a2dcb7

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Jun 12 10:26:17 2012 +0200

gdiplus: Make get_font_hfont() static.

---

 dlls/gdiplus/gdiplus_private.h |    2 --
 dlls/gdiplus/graphics.c        |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/gdiplus/gdiplus_private.h b/dlls/gdiplus/gdiplus_private.h
index 753a162..322fb02 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 c6e6a6e..2e3d0b5 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];




More information about the wine-cvs mailing list