summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 11:40:56 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 11:41:03 +0200
commitba1f9b21646164df1043cc16612bed99241a5fba (patch)
tree43e68d80614654767b3dc4cc433af165953c5a89 /src
parent836f8742deda9754aa379894ff33d162d0c97172 (diff)
use XNFalloc() instead of xnfalloc
xnfalloc is just an alias for XNFalloc() 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-video-apm/-/merge_requests/6>
Diffstat (limited to 'src')
-rw-r--r--src/apm_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apm_driver.c b/src/apm_driver.c
index 3c41b1c..eba57bb 100644
--- a/src/apm_driver.c
+++ b/src/apm_driver.c
@@ -316,7 +316,7 @@ GetAccelPitchValues(ScrnInfoPtr pScrn)
int linep[] = {640, 800, 1024, 1152, 1280, 0};
if (sizeof linep > 0) {
- linePitches = (int *)xnfalloc(sizeof linep);
+ linePitches = (int *)XNFalloc(sizeof linep);
memcpy(linePitches, linep, sizeof linep);
}