summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-10 11:39:28 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-10 11:39:28 +0200
commit6254a73abbc7306b98b493ad4c6f4e448517c70b (patch)
treee0b93abcf7f7df3ad0f0ca1cb6e9417568c810cc /src
parent9fb55bd42f3d5d2efe811eb2fbbea2895bfe0f0d (diff)
use XNFrealloc() instead of xnfrealloc
xnfrealloc is just an alias for XNFrealloc() 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-cirrus/-/merge_requests/5>
Diffstat (limited to 'src')
-rw-r--r--src/alp_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alp_driver.c b/src/alp_driver.c
index 4689a52..ab6f84a 100644
--- a/src/alp_driver.c
+++ b/src/alp_driver.c
@@ -433,13 +433,13 @@ GetAccelPitchValues(ScrnInfoPtr pScrn)
if ((accelWidths[i] % pCir->Rounding == 0)
&& ((accelWidths[i] * pScrn->bitsPerPixel / 8) <= max_pitch)) {
n++;
- linePitches = xnfrealloc(linePitches, n * sizeof(int));
+ linePitches = XNFrealloc(linePitches, n * sizeof(int));
linePitches[n - 1] = accelWidths[i];
}
}
/* Mark the end of the list */
if (n > 0) {
- linePitches = xnfrealloc(linePitches, (n + 1) * sizeof(int));
+ linePitches = XNFrealloc(linePitches, (n + 1) * sizeof(int));
linePitches[n] = 0;
}
return linePitches;