File Header-cleanup-bug-4703.patch of Package xorg-x11-libs

From 60bb5229f0fb16cee27077552fbc35d53c94f031 Mon Sep 17 00:00:00 2001
From: Erik Andren <erik.andren@gmail.com>
Date: Sat, 25 Oct 2008 20:34:27 +0200
Subject: Header cleanup (bug#4703)

Remove prototypes for nonexistent functions from Xft.h, and add missing
include in xftglyphs.c

Signed-off-by: Julien Cristau <jcristau@debian.org>
---
 include/X11/Xft/Xft.h |   12 ------------
 src/xftglyphs.c       |    4 ++++
 2 files changed, 4 insertions(+), 12 deletions(-)

Index: libXft-2.1.13/include/X11/Xft/Xft.h
===================================================================
--- libXft-2.1.13.orig/include/X11/Xft/Xft.h
+++ libXft-2.1.13/include/X11/Xft/Xft.h
@@ -127,16 +127,6 @@ XftColorFree (Display	*dpy,
 	      Colormap	cmap,
 	      XftColor	*color);
 
-
-/* xftcore.c */
-
-/* xftdir.c */
-FcBool
-XftDirScan (FcFontSet *set, _Xconst char *dir, FcBool force);
-
-FcBool
-XftDirSave (FcFontSet *set, _Xconst char *dir);
-
 /* xftdpy.c */
 Bool
 XftDefaultHasRender (Display *dpy);
@@ -619,8 +609,6 @@ XftTextRenderUtf16 (Display	    *dpy,
 		    FcEndian	    endian,
 		    int		    len);
 
-/* xftstr.c */
-
 /* xftxlfd.c */
 FcPattern *
 XftXlfdParse (_Xconst char *xlfd_orig, Bool ignore_scalable, Bool complete);
openSUSE Build Service is sponsored by