[vlc-commits] freetype: missing static
Francois Cartegnie
git at videolan.org
Tue Aug 11 13:30:37 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Aug 6 15:19:06 2020 +0200| [bf7922e4eaab3d57ed0aa31c488b2ed28a1ccd96] | committer: Francois Cartegnie
freetype: missing static
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf7922e4eaab3d57ed0aa31c488b2ed28a1ccd96
---
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 9c81b78729..cc2a130ad5 100644
--- a/modules/text_renderer/freetype/fonts/darwin.c
+++ b/modules/text_renderer/freetype/fonts/darwin.c
@@ -85,7 +85,7 @@ static void addNewFontToFamily(vlc_font_select_t *fs, CTFontDescriptorRef iter,
CFRelease(fontTraits);
}
-const struct
+static const struct
{
const char *psz_generic;
const char *psz_local;
@@ -108,7 +108,7 @@ CoreTextGenericMapping[] =
// { "ui-sans-serif", "" },
};
-const char *CoreText_TranslateGenericFamily(const char *psz_family)
+static const char *CoreText_TranslateGenericFamily(const char *psz_family)
{
for( size_t i=0; i<ARRAY_SIZE(CoreTextGenericMapping); i++ )
{
More information about the vlc-commits
mailing list