summaryrefslogtreecommitdiff
path: root/lib/libXfont/src/util/atom.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2014-09-27 17:42:16 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2014-09-27 17:42:16 +0000
commit51b0f9ed188811d70f54ebfa527706d8fc346184 (patch)
tree48e9483d968453ba1b7d3e2626b10bb6d9ee4c29 /lib/libXfont/src/util/atom.c
parent23b49e80e5298d9e6bb8f43778cff767717d93ea (diff)
Update to libXfont 1.5.0
Tested together with xserver 1.16.1 by naddy@, jsg@ & kettenis@
Diffstat (limited to 'lib/libXfont/src/util/atom.c')
-rw-r--r--lib/libXfont/src/util/atom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libXfont/src/util/atom.c b/lib/libXfont/src/util/atom.c
index 37811f91e..5f7f1c66d 100644
--- a/lib/libXfont/src/util/atom.c
+++ b/lib/libXfont/src/util/atom.c
@@ -158,6 +158,8 @@ MakeAtom(const char *string, unsigned len, int makeit)
int h = 0;
int r;
+ OVERRIDE_SYMBOL(MakeAtom, string, len, makeit);
+
hash = Hash (string, len);
if (hashTable)
{
@@ -230,6 +232,7 @@ MakeAtom(const char *string, unsigned len, int makeit)
weak int
ValidAtom(Atom atom)
{
+ OVERRIDE_SYMBOL(ValidAtom, atom);
return (atom != None) && (atom <= lastAtom);
}
@@ -240,6 +243,7 @@ ValidAtom(Atom atom)
weak char *
NameForAtom(Atom atom)
{
+ OVERRIDE_SYMBOL(NameForAtom, atom);
if (atom != None && atom <= lastAtom)
return reverseMap[atom]->name;
return NULL;