From: Behdad Esfahbod Date: Fri, 5 Jun 2009 22:27:47 +0000 (-0400) Subject: Remove unused prototypes and function X-Git-Tag: 2.7.0~8 X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=commitdiff_plain;h=5aebb3e299d877c4a66f409a7d448b2ac4e94be0 Remove unused prototypes and function --- 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,