i_init_tt() has only been used internally to font.c, make it static
authorTony Cook <tony@develop-help.com>
Mon, 6 Aug 2012 01:45:38 +0000 (11:45 +1000)
committerTony Cook <tony@develop-help.com>
Mon, 13 Aug 2012 00:43:28 +0000 (10:43 +1000)
font.c
imager.h

diff --git a/font.c b/font.c
index f6f69a8..a162f70 100644 (file)
--- a/font.c
+++ b/font.c
@@ -163,7 +163,7 @@ Initializes the freetype font rendering engine
 =cut
 */
 
-undef_int
+static undef_int
 i_init_tt(void) {
   TT_Error  error;
   TT_Byte palette[] = { 0, 64, 127, 191, 255 };
index 00ca8e2..aba1399 100644 (file)
--- a/imager.h
+++ b/imager.h
@@ -229,7 +229,6 @@ undef_int i_init_fonts( int t1log );
 
 #ifdef HAVE_LIBTT
 
-undef_int i_init_tt( void );
 TT_Fonthandle* i_tt_new(const char *fontname);
 void i_tt_destroy( TT_Fonthandle *handle );
 undef_int i_tt_cp( TT_Fonthandle *handle,i_img *im,i_img_dim xb,i_img_dim yb,int channel,double points,char const* txt,size_t len,int smooth, int utf8, int align);