dwrite: Make free_glyph_outline() static.

Francois Gouget fgouget at free.fr
Mon Jan 5 12:34:07 CST 2015


---
 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);
-- 
2.1.4




More information about the wine-patches mailing list