diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 11:40:56 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 11:41:03 +0200 |
commit | ba1f9b21646164df1043cc16612bed99241a5fba (patch) | |
tree | 43e68d80614654767b3dc4cc433af165953c5a89 | |
parent | 836f8742deda9754aa379894ff33d162d0c97172 (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>
-rw-r--r-- | src/apm_driver.c | 2 |
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); } |