[cff] Fix compiler warning.

* src/cff/cffparse.c, src/cff/cffparse.h: Make `cff_parse_fixed` a local
function.
gsoc-anurag-2023-final
Werner Lemberg 1 year ago
parent 85167dbd50
commit 3c92e7bfc2
  1. 2
      src/cff/cffparse.c
  2. 4
      src/cff/cffparse.h

@ -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 )
{

@ -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,

Loading…
Cancel
Save