]> git.imager.perl.org - imager.git/commitdiff
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 f6f69a877ca1730ef236df7449037c809b5e78ad..a162f70dde86150d8d6c5b51bb0235c90c25d243 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 00ca8e2cadf0265f8f385b84d14b6af189f098e5..aba1399bac3a2091f5a368cccea275bd90226948 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);