[PATCH:libXfont 2/4] Remove redundant declaration of FontFileStartListFonts()

Alan Coopersmith alan.coopersmith at oracle.com
Tue Jan 7 23:35:26 PST 2014


Fixes gcc warning:
catalogue.c:336:1: warning: redundant redeclaration of
 'FontFileStartListFonts' [-Wredundant-decls]
In file included from ../../include/X11/fonts/fntfilst.h:40:0,
                 from catalogue.c:32:
../../include/X11/fonts/fntfil.h:92:12: note: previous declaration
 of 'FontFileStartListFonts' was here

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 src/fontfile/catalogue.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/fontfile/catalogue.c b/src/fontfile/catalogue.c
index 6b6fc09..6230930 100644
--- a/src/fontfile/catalogue.c
+++ b/src/fontfile/catalogue.c
@@ -332,11 +332,6 @@ CatalogueListFonts (pointer client, FontPathElementPtr fpe, char *pat,
     return Successful;
 }
 
-int
-FontFileStartListFonts(pointer client, FontPathElementPtr fpe,
-		       char *pat, int len, int max,
-		       pointer *privatep, int mark_aliases);
-
 typedef struct _LFWIData {
     pointer		*privates;
     int			current;
-- 
1.7.9.2



More information about the xorg-devel mailing list