Francois Gouget : dwrite: Make free_glyph_outline() static.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 5 15:01:28 CST 2015


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Jan  5 19:34:07 2015 +0100

dwrite: Make free_glyph_outline() static.

---

 dlls/dwrite/dwrite_private.h | 1 -
 dlls/dwrite/font.c           | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/dwrite/dwrite_private.h b/dlls/dwrite/dwrite_private.h
index 907a1c3..5227762 100644
--- a/dlls/dwrite/dwrite_private.h
+++ b/dlls/dwrite/dwrite_private.h
@@ -142,7 +142,6 @@ struct glyph_outline {
 };
 
 extern HRESULT new_glyph_outline(UINT32,struct glyph_outline**) DECLSPEC_HIDDEN;
-extern void    free_glyph_outline(struct glyph_outline*) DECLSPEC_HIDDEN;
 
 /* FreeType integration */
 extern BOOL init_freetype(void) DECLSPEC_HIDDEN;
diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 80b7f07..d0c109d 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -451,7 +451,7 @@ HRESULT new_glyph_outline(UINT32 count, struct glyph_outline **ret)
     return S_OK;
 }
 
-void free_glyph_outline(struct glyph_outline *outline)
+static void free_glyph_outline(struct glyph_outline *outline)
 {
     heap_free(outline->points);
     heap_free(outline->tags);




More information about the wine-cvs mailing list