From e5f35e324548994f2d6df89d6bd0a4eb913f7414 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 7 Jul 2005 14:59:47 +0000 Subject: Bug #2901 Patch #2332 This patch avoids 79 gcc-3.4.3 warnings 'xxx' declared `static' but never defined mostly due to including "ftfuncs.h" with the declaration of static functions defined in "ftfuncs.c". (Peter Breitenlohner) --- src/FreeType/ftfuncs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FreeType/ftfuncs.h b/src/FreeType/ftfuncs.h index 89da563..f115a8b 100644 --- a/src/FreeType/ftfuncs.h +++ b/src/FreeType/ftfuncs.h @@ -152,6 +152,8 @@ typedef struct _FTFont{ fsRange *ranges; } FTFontRec, *FTFontPtr; +#ifndef NOT_IN_FTFUNCS + /* Prototypes for some local functions */ static int FreeTypeOpenFace(FTFacePtr *facep, char *FTFileName, char *realFileName, int faceNumber); @@ -183,3 +185,5 @@ FreeTypeLoadFont(FTFontPtr font, FontInfoPtr info, FTFacePtr face, FontBitmapFormatPtr bmfmt, FT_Int32 load_flags, struct TTCapInfo *tmp_ttcap, char *dynStrTTCapCodeRange, int ttcap_spacing ); + +#endif /* NOT_IN_FTFUNCS */ -- cgit v1.2.1