From: Tony Cook Date: Mon, 6 Aug 2012 01:45:38 +0000 (+1000) Subject: i_init_tt() has only been used internally to font.c, make it static X-Git-Tag: v0.92~8 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/2e0427fdb2e4b2843346087bcdb9c5018a39086e i_init_tt() has only been used internally to font.c, make it static --- diff --git a/font.c b/font.c index f6f69a87..a162f70d 100644 --- 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 }; diff --git a/imager.h b/imager.h index 00ca8e2c..aba1399b 100644 --- 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);