diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-03-10 14:09:35 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-03-10 14:09:35 +0000 |
commit | f42da6ca08a2b9a1350ffdea10ce8bdf6a509127 (patch) | |
tree | e75c2b5c74227ecec3a7e4a0adef142f17cfb214 /lib/libXft/src/xftname.c | |
parent | b2e5c9d9656e460f1de7f78e88284601915750bd (diff) |
update to libXft 2.3.0
Diffstat (limited to 'lib/libXft/src/xftname.c')
-rw-r--r-- | lib/libXft/src/xftname.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libXft/src/xftname.c b/lib/libXft/src/xftname.c index a0c6be704..30dd6e06c 100644 --- a/lib/libXft/src/xftname.c +++ b/lib/libXft/src/xftname.c @@ -33,7 +33,7 @@ static const FcObjectType _XftObjectTypes[] = { static FcBool _XftNameInitialized; -_X_HIDDEN void +_X_HIDDEN void _XftNameInit (void) { if (_XftNameInitialized) @@ -42,11 +42,11 @@ _XftNameInit (void) FcNameRegisterObjectTypes (_XftObjectTypes, NUM_OBJECT_TYPES); } -_X_EXPORT FcPattern +_X_EXPORT FcPattern *XftNameParse (const char *name) -{ +{ _XftNameInit (); - return FcNameParse ((FcChar8 *) name); + return FcNameParse ((FcChar8 *) name); } _X_EXPORT FcBool |