summaryrefslogtreecommitdiff
path: root/src/FreeType
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-07 14:59:47 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-07 14:59:47 +0000
commite5f35e324548994f2d6df89d6bd0a4eb913f7414 (patch)
tree68b687bd78f16bcfce01396fd7aaa3f7868713a5 /src/FreeType
parentc073ce34164a9872688ce619cc0b3fedbdc76f83 (diff)
Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2332
<https://bugs.freedesktop.org/attachment.cgi?id=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)
Diffstat (limited to 'src/FreeType')
-rw-r--r--src/FreeType/ftfuncs.h4
1 files changed, 4 insertions, 0 deletions
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 */