diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-10 11:39:28 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-10 11:39:28 +0200 |
commit | 6254a73abbc7306b98b493ad4c6f4e448517c70b (patch) | |
tree | e0b93abcf7f7df3ad0f0ca1cb6e9417568c810cc | |
parent | 9fb55bd42f3d5d2efe811eb2fbbea2895bfe0f0d (diff) |
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>
-rw-r--r-- | src/alp_driver.c | 4 |
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; |