[vlc-commits] Freetype: unexport a function we don't need anymore on Win32

Jean-Baptiste Kempf git at videolan.org
Sun Dec 15 17:39:11 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Dec 15 17:38:53 2013 +0100| [9e3a4af57ea809992d8ee9cbb82ce9bd1edc429b] | committer: Jean-Baptiste Kempf

Freetype: unexport a function we don't need anymore on Win32

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e3a4af57ea809992d8ee9cbb82ce9bd1edc429b
---

 modules/text_renderer/platform_fonts.c |    2 +-
 modules/text_renderer/platform_fonts.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/text_renderer/platform_fonts.c b/modules/text_renderer/platform_fonts.c
index 31ea730..28d4437 100644
--- a/modules/text_renderer/platform_fonts.c
+++ b/modules/text_renderer/platform_fonts.c
@@ -252,7 +252,7 @@ static int CALLBACK EnumFontCallback(const ENUMLOGFONTEX *lpelfe, const NEWTEXTM
     return GetFileFontByName( (LPCTSTR)lpelfe->elfFullName, (char **)lParam );
 }
 
-char* GetWindowsFontPath()
+static char* GetWindowsFontPath()
 {
     wchar_t wdir[MAX_PATH];
     if( S_OK != SHGetFolderPathW( NULL, CSIDL_FONTS, NULL, SHGFP_TYPE_CURRENT, wdir ) )
diff --git a/modules/text_renderer/platform_fonts.h b/modules/text_renderer/platform_fonts.h
index 287a396..1cb9162 100644
--- a/modules/text_renderer/platform_fonts.h
+++ b/modules/text_renderer/platform_fonts.h
@@ -86,7 +86,6 @@ void FontConfig_BuildCache( filter_t *p_filter );
 
 
 #ifdef _WIN32
-char* GetWindowsFontPath();
 char* Win32_Select( filter_t *p_filter, const char* family,
                            bool b_bold, bool b_italic, int i_size, int *i_idx );
 



More information about the vlc-commits mailing list