summaryrefslogtreecommitdiff
path: root/src/fcxml.c
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2006-04-06 04:52:21 +0000
committerPatrick Lam <plam@MIT.EDU>2006-04-06 04:52:21 +0000
commit392fa276dcae8d4c66607bbbd8dd30354a331afc (patch)
treefbd29764b7a9846639b7c159879a828090d351ce /src/fcxml.c
parent0d745819a9ec491349d4e122a7d44d689b2d3479 (diff)
Reduce amount of dirty rss by const'ing some data structures.
Don't fail if we can't create or remove $(pkgcachedir) i.e. /var/cache/fontconfig. (reported by Quanah Gibson-Mount). reviewed by: plam
Diffstat (limited to 'src/fcxml.c')
-rw-r--r--src/fcxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcxml.c b/src/fcxml.c
index fac706c5..1afa4e70 100644
--- a/src/fcxml.c
+++ b/src/fcxml.c
@@ -339,7 +339,7 @@ typedef enum _FcElement {
FcElementUnknown
} FcElement;
-static struct {
+static const struct {
const char name[16];
FcElement element;
} fcElementMap[] = {