Commit 6ff2ff574b7cf317646ce4fbbdd4b5f604b04525

Werner Lemberg 2007-05-24T19:39:14

* 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.

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 );
-
 
   /*************************************************************************/
   /*                                                                       */