diff --git a/ChangeLog b/ChangeLog index dd600cbcd..d4b197b17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2007-05-24 Werner Lemberg + + * src/truetype/ttobjs.h (tt_size_ready_bytecode): Move declaration + into TT_USE_BYTECODE_INTERPRETER preprocessor block. + +2007-05-24 Graham Asher + + * src/truetype/ttobjs.c (tt_size_ready_bytecode) + [!TT_USE_BYTECODE_INTERPRETER]: Removed. Unused. + 2007-05-22 David Turner * src/truetype/ttgload.c: fix Werner's recent graphics state diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c index 7155cca63..0294a1b7e 100644 --- a/src/truetype/ttobjs.c +++ b/src/truetype/ttobjs.c @@ -700,16 +700,7 @@ return error; } -#else /* !TT_USE_BYTECODE_INTERPRETER */ - - FT_LOCAL_DEF( FT_Error ) - tt_size_ready_bytecode( TT_Size size ) - { - FT_UNUSED( size ); - return 0; - } - -#endif /* !TT_USE_BYTECODE_INTERPRETER */ +#endif /* TT_USE_BYTECODE_INTERPRETER */ /*************************************************************************/ diff --git a/src/truetype/ttobjs.h b/src/truetype/ttobjs.h index 652ead33e..6971013af 100644 --- a/src/truetype/ttobjs.h +++ b/src/truetype/ttobjs.h @@ -423,14 +423,14 @@ FT_BEGIN_HEADER FT_LOCAL( FT_Error ) tt_size_run_prep( TT_Size size ); + FT_LOCAL( FT_Error ) + tt_size_ready_bytecode( TT_Size size ); + #endif /* TT_USE_BYTECODE_INTERPRETER */ FT_LOCAL( FT_Error ) tt_size_reset( TT_Size size ); - FT_LOCAL( FT_Error ) - tt_size_ready_bytecode( TT_Size size ); - /*************************************************************************/ /* */