summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-10 11:15:20 +0200
committerMarge Bot <emma+marge@anholt.net>2024-07-26 23:41:34 +0000
commitdec57e5796ac3cd6a9a542117d5bf0a13a9d4273 (patch)
tree5764c917b9140383db4ded767b68b63ac7cf51fb /glx
parentf446235b715e6fd456be5671239b8fcca2d5e7b6 (diff)
treewide: replace xnfstrdup() calls by XNFstrdup()
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. 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 'glx')
-rw-r--r--glx/glxdri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 2321be922..bb557fb7d 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -982,7 +982,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, options);
glvnd = xf86GetOptValString(options, GLXOPT_VENDOR_LIBRARY);
if (glvnd)
- screen->base.glvnd = xnfstrdup(glvnd);
+ screen->base.glvnd = XNFstrdup(glvnd);
free(options);
if (!screen->base.glvnd)