[vlc-commits] freetype: correctly use static visibility

Marvin Scholz git at videolan.org
Tue Mar 31 11:43:55 CEST 2020


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Tue Mar 31 11:41:47 2020 +0200| [8a1441c0e6e32ccfeae1d822d1dcec184495088c] | committer: Marvin Scholz

freetype: correctly use static visibility

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

 modules/text_renderer/freetype/fonts/darwin.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/text_renderer/freetype/fonts/darwin.c b/modules/text_renderer/freetype/fonts/darwin.c
index 689dd10b81..53fa28a3a4 100644
--- a/modules/text_renderer/freetype/fonts/darwin.c
+++ b/modules/text_renderer/freetype/fonts/darwin.c
@@ -39,7 +39,7 @@
 
 #include "../platform_fonts.h"
 
-char* getPathForFontDescription(CTFontDescriptorRef fontDescriptor)
+static char* getPathForFontDescription(CTFontDescriptorRef fontDescriptor)
 {
     CFURLRef url = CTFontDescriptorCopyAttribute(fontDescriptor, kCTFontURLAttribute);
     if (url == NULL)
@@ -55,7 +55,7 @@ char* getPathForFontDescription(CTFontDescriptorRef fontDescriptor)
     return retPath;
 }
 
-void addNewFontToFamily(filter_t *p_filter, CTFontDescriptorRef iter, char *path, vlc_family_t *p_family)
+static void addNewFontToFamily(filter_t *p_filter, CTFontDescriptorRef iter, char *path, vlc_family_t *p_family)
 {
     bool b_bold = false;
     bool b_italic = false;



More information about the vlc-commits mailing list