summaryrefslogtreecommitdiff
path: root/xkb/xkbtext.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 10:29:32 +0200
committerMarge Bot <emma+marge@anholt.net>2024-07-26 23:41:33 +0000
commitc55ddd072bb39966185f919e1e4aaf3ac2ebcb74 (patch)
treec7fa2baf8fb21d5c787b1ce769df4dbd4d79f158 /xkb/xkbtext.c
parent96c99b83183c889e499edb8535c7b9e9025fe11a (diff)
treewide: replace xnfalloc() calls to XNFalloc()
This has been nothing but an alias for two decades now (somewhere in R6.6), so there doesn't seem to be any practical need for this indirection. The macro still needs to remain, as long as (external) drivers still using it. Fixes: ded6147bfb5d75ff1e67c858040a628b61bc17d1 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1529>
Diffstat (limited to 'xkb/xkbtext.c')
-rw-r--r--xkb/xkbtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbtext.c b/xkb/xkbtext.c
index 7bc93bfac..35841dd2b 100644
--- a/xkb/xkbtext.c
+++ b/xkb/xkbtext.c
@@ -64,7 +64,7 @@ tbGetBuffer(unsigned size)
if (size > tb->size) {
free(tb->buffer);
- tb->buffer = xnfalloc(size);
+ tb->buffer = XNFalloc(size);
tb->size = size;
}
return tb->buffer;