summaryrefslogtreecommitdiff
path: root/lib/libXft/src/xftname.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 18:23:15 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 18:23:15 +0000
commitd9b828c2d1e6e4e2ceb750c1b925f0bc551a1443 (patch)
tree82b7a1e14be8bbe9bc00d6c4ba3e04d842701f1c /lib/libXft/src/xftname.c
parent1767608620ad90b9b419a49afc48b354542653f7 (diff)
Update to libXft 2.1.14
Diffstat (limited to 'lib/libXft/src/xftname.c')
-rw-r--r--lib/libXft/src/xftname.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libXft/src/xftname.c b/lib/libXft/src/xftname.c
index 26479df68..a0c6be704 100644
--- a/lib/libXft/src/xftname.c
+++ b/lib/libXft/src/xftname.c
@@ -1,6 +1,4 @@
/*
- * $Id: xftname.c,v 1.1 2006/11/25 17:21:38 matthieu Exp $
- *
* Copyright © 2000 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its
@@ -28,11 +26,12 @@ static const FcObjectType _XftObjectTypes[] = {
{ XFT_CORE, FcTypeBool, },
{ XFT_XLFD, FcTypeString, },
{ XFT_RENDER, FcTypeBool, },
+ { XFT_MAX_GLYPH_MEMORY, FcTypeInteger, },
};
#define NUM_OBJECT_TYPES (sizeof _XftObjectTypes / sizeof _XftObjectTypes[0])
-_X_HIDDEN FcBool _XftNameInitialized;
+static FcBool _XftNameInitialized;
_X_HIDDEN void
_XftNameInit (void)
@@ -50,7 +49,7 @@ _X_EXPORT FcPattern
return FcNameParse ((FcChar8 *) name);
}
-_X_HIDDEN FcBool
+_X_EXPORT FcBool
XftNameUnparse (FcPattern *pat, char *dest, int len)
{
FcChar8 *name;