diff options
author | Moazin Khatti <moazinkhatri@gmail.com> | 2019-08-09 17:24:20 +0500 |
---|---|---|
committer | Moazin Khatti <moazinkhatri@gmail.com> | 2019-08-26 01:17:14 +0500 |
commit | 168a8f8fe0be7f690389f4c2d9eb6a47f0e8dd9a (patch) | |
tree | e9de1353ae48d4322b52ceec9d49840305a77df4 | |
parent | 705320b72d67d7a03d992391b0fa90b4b4a08498 (diff) | |
download | freetype2-168a8f8fe0be7f690389f4c2d9eb6a47f0e8dd9a.tar.gz |
Makes some helper functions `static'.
-rw-r--r-- | src/sfnt/ttsvg.c | 8 | ||||
-rw-r--r-- | src/sfnt/ttsvg.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/sfnt/ttsvg.c b/src/sfnt/ttsvg.c index e8dcac908..94d176062 100644 --- a/src/sfnt/ttsvg.c +++ b/src/sfnt/ttsvg.c @@ -134,7 +134,7 @@ FT_ULong length; } Svg_doc; - Svg_doc + static Svg_doc extract_svg_doc( FT_Byte* stream ) { Svg_doc doc; @@ -145,7 +145,7 @@ return doc; } - FT_Int + static FT_Int compare_svg_doc( Svg_doc doc, FT_UInt glyph_index ) { @@ -157,7 +157,7 @@ return 0; } - FT_Error + static FT_Error find_doc( FT_Byte* stream, FT_UShort num_entries, FT_UInt glyph_index, @@ -249,7 +249,7 @@ return error; } - FT_LOCAL_DEF(FT_Error) + FT_LOCAL_DEF( FT_Error ) tt_face_load_svg_doc( FT_GlyphSlot glyph, FT_UInt glyph_index ) { diff --git a/src/sfnt/ttsvg.h b/src/sfnt/ttsvg.h index 9b8541ea9..c54e04832 100644 --- a/src/sfnt/ttsvg.h +++ b/src/sfnt/ttsvg.h @@ -29,7 +29,7 @@ FT_BEGIN_HEADER FT_LOCAL( void ) tt_face_free_svg( TT_Face face ); - FT_LOCAL(FT_Error) + FT_LOCAL( FT_Error ) tt_face_load_svg_doc( FT_GlyphSlot glyph, FT_UInt glyph_index ); |