[cff] Fix compiler warning.

* src/cff/cffparse.c, src/cff/cffparse.h: Make `cff_parse_fixed` a local
function.
This commit is contained in:
Werner Lemberg 2023-07-14 18:58:55 +02:00
parent 85167dbd50
commit 3c92e7bfc2
2 changed files with 5 additions and 1 deletions

View File

@ -554,7 +554,7 @@
/* read a floating point number, either integer or real */
static FT_Fixed
FT_LOCAL_DEF( FT_Fixed )
cff_parse_fixed( CFF_Parser parser,
FT_Byte** d )
{

View File

@ -76,6 +76,10 @@ FT_BEGIN_HEADER
cff_parse_num( CFF_Parser parser,
FT_Byte** d );
FT_LOCAL( FT_Fixed )
cff_parse_fixed( CFF_Parser parser,
FT_Byte** d );
FT_LOCAL( FT_Error )
cff_parser_init( CFF_Parser parser,
FT_UInt code,