* src/truetype/ttobjs.h (tt_size_ready_bytecode): Move declaration into TT_USE_BYTECODE_INTERPRETER preprocessor block. * src/truetype/ttobjs.c (tt_size_ready_bytecode) [!TT_USE_BYTECODE_INTERPRETER]: Removed. Unused.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
diff --git a/ChangeLog b/ChangeLog
index dd600cb..d4b197b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2007-05-24 Werner Lemberg <wl@gnu.org>
+
+ * src/truetype/ttobjs.h (tt_size_ready_bytecode): Move declaration
+ into TT_USE_BYTECODE_INTERPRETER preprocessor block.
+
+2007-05-24 Graham Asher <graham.asher@btinternet.com>
+
+ * src/truetype/ttobjs.c (tt_size_ready_bytecode)
+ [!TT_USE_BYTECODE_INTERPRETER]: Removed. Unused.
+
2007-05-22 David Turner <david@freetype.org>
* src/truetype/ttgload.c: fix Werner's recent graphics state
diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c
index 7155cca..0294a1b 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 652ead3..6971013 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 );
-
/*************************************************************************/
/* */