diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-10 11:40:54 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-10 11:40:54 +0200 |
commit | 9af42a03dfbf0fdcb0c3695b882f3a7e36760864 (patch) | |
tree | cf51e399c0ec13fd91dc1c48a85e763690b2b8cc | |
parent | aea97a2758961e879b6ad9c159713d45cefc26bc (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-trident/-/merge_requests/7>
-rw-r--r-- | src/trident_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trident_driver.c b/src/trident_driver.c index 19c1ebf..a0e0473 100644 --- a/src/trident_driver.c +++ b/src/trident_driver.c @@ -1700,13 +1700,13 @@ GetAccelPitchValues(ScrnInfoPtr pScrn) for (i = 0; i < 4; i++) { n++; - linePitches = xnfrealloc(linePitches, n * sizeof(int)); + linePitches = XNFrealloc(linePitches, n * sizeof(int)); linePitches[n - 1] = lines[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; |