summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-10 10:59:47 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-05-18 13:15:38 -0700
commit4ef48818c88cd64ad538a5b5c27a86dcf3c7e2d5 (patch)
tree27c0cdda16e1d2d008458359cea9438ccb939707
parent832818c4a5e8a9ae13839ec4eab66cb70146e514 (diff)
use XNFstrdup() instead of xnfstrdup
xnfstrdup is just an alias for XNFstrdup() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/-/merge_requests/14>
-rw-r--r--src/lnx_mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lnx_mouse.c b/src/lnx_mouse.c
index 415cef6..ae09846 100644
--- a/src/lnx_mouse.c
+++ b/src/lnx_mouse.c
@@ -130,7 +130,7 @@ lnxMouseMagic(InputInfoPtr pInfo)
}
}
if (!realdev)
- realdev = xnfstrdup(dev);
+ realdev = XNFstrdup(dev);
else {
/* If realdev doesn't contain a '/' then prepend "/dev/" */
if (!strchr(realdev, '/')) {