From 6cba5f1260c20b3bc072fdcc5f3e49fa28ba6414 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 7 Jul 2005 14:59:48 +0000 Subject: [PATCH] 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) --- Xprint/ps/PsFTFonts.c | 1 + Xprint/ps/psout_ft.c | 1 + Xprint/ps/psout_ftpstype1.c | 1 + Xprint/ps/psout_ftpstype3.c | 1 + 4 files changed, 4 insertions(+) diff --git a/Xprint/ps/PsFTFonts.c b/Xprint/ps/PsFTFonts.c index 2fbff1a1c..c992987d4 100644 --- a/Xprint/ps/PsFTFonts.c +++ b/Xprint/ps/PsFTFonts.c @@ -43,6 +43,7 @@ THE SOFTWARE. #include FT_FREETYPE_H #include "ft.h" +#define NOT_IN_FTFUNCS #include "ftfuncs.h" char * diff --git a/Xprint/ps/psout_ft.c b/Xprint/ps/psout_ft.c index a140ebcb1..34cb6a54d 100644 --- a/Xprint/ps/psout_ft.c +++ b/Xprint/ps/psout_ft.c @@ -42,6 +42,7 @@ THE SOFTWARE. #include #include #include "ft.h" +#define NOT_IN_FTFUNCS #include "ftfuncs.h" #include "servermd.h" /* needed for endian test (IMAGE_BYTE_ORDER) */ diff --git a/Xprint/ps/psout_ftpstype1.c b/Xprint/ps/psout_ftpstype1.c index 806338efd..19e1bde18 100644 --- a/Xprint/ps/psout_ftpstype1.c +++ b/Xprint/ps/psout_ftpstype1.c @@ -45,6 +45,7 @@ THE SOFTWARE. #include #include #include "ft.h" +#define NOT_IN_FTFUNCS #include "ftfuncs.h" int do_debug_ft2pt1 = FALSE; diff --git a/Xprint/ps/psout_ftpstype3.c b/Xprint/ps/psout_ftpstype3.c index 71cac8609..e9782e499 100644 --- a/Xprint/ps/psout_ftpstype3.c +++ b/Xprint/ps/psout_ftpstype3.c @@ -69,6 +69,7 @@ THE SOFTWARE. #include #include #include "ft.h" +#define NOT_IN_FTFUNCS #include "ftfuncs.h" struct ft2info