From 5aebb3e299d877c4a66f409a7d448b2ac4e94be0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 5 Jun 2009 18:27:47 -0400 Subject: [PATCH] Remove unused prototypes and function --- src/fcint.h | 16 ++-------------- src/fcxml.c | 6 ------ 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/src/fcint.h b/src/fcint.h index 157e973..70836c0 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -724,7 +724,7 @@ FcDirScanConfig (FcFontSet *set, /* fcfont.c */ FcPrivate int FcFontDebug (void); - + /* fcfs.c */ FcPrivate FcBool @@ -732,20 +732,8 @@ FcFontSetSerializeAlloc (FcSerialize *serialize, const FcFontSet *s); FcPrivate FcFontSet * FcFontSetSerialize (FcSerialize *serialize, const FcFontSet * s); - -/* fcgram.y */ -FcPrivate int -FcConfigparse (void); - -FcPrivate int -FcConfigwrap (void); - -FcPrivate void -FcConfigerror (char *fmt, ...); - -FcPrivate char * -FcConfigSaveField (const char *field); +/* fcxml.c */ FcPrivate void FcTestDestroy (FcTest *test); diff --git a/src/fcxml.c b/src/fcxml.c index 886413b..75c55d6 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -272,12 +272,6 @@ FcEditDestroy (FcEdit *e) free (e); } -char * -FcConfigSaveField (const char *field) -{ - return (char *) FcStrCopy ((FcChar8 *) field); -} - typedef enum _FcElement { FcElementNone, FcElementFontconfig, -- 2.39.5