summaryrefslogtreecommitdiff
path: root/Xprint
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-07 14:59:48 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-07 14:59:48 +0000
commit6cba5f1260c20b3bc072fdcc5f3e49fa28ba6414 (patch)
tree468d986f0b3e8eaf2f077aa7dc595e51bf10367b /Xprint
parent7da3f4a786d9b61f4129c7dbbef80c84abbfde68 (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 'Xprint')
-rw-r--r--Xprint/ps/PsFTFonts.c1
-rw-r--r--Xprint/ps/psout_ft.c1
-rw-r--r--Xprint/ps/psout_ftpstype1.c1
-rw-r--r--Xprint/ps/psout_ftpstype3.c1
4 files changed, 4 insertions, 0 deletions
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 <X11/fonts/fontutil.h>
#include <X11/fonts/fontenc.h>
#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 <X11/fonts/fontutil.h>
#include <X11/fonts/fontenc.h>
#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 <X11/fonts/fontutil.h>
#include <X11/fonts/fontenc.h>
#include "ft.h"
+#define NOT_IN_FTFUNCS
#include "ftfuncs.h"
struct ft2info