diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 17:00:31 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 17:00:31 +0200 |
commit | 7cd51d90bb76aefc476ebdbb73b01e29c5119eea (patch) | |
tree | b18399ac0337978914e55b44f20e660ac5a2cfbc | |
parent | ebd49ed66ad8c90a85df0f4a5986973211b35978 (diff) |
xnfcalloc is just an alias for XNFcallocarray() 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-sunleo/-/merge_requests/5>
-rw-r--r-- | src/leo_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leo_driver.c b/src/leo_driver.c index 2c1d505..282a579 100644 --- a/src/leo_driver.c +++ b/src/leo_driver.c @@ -155,7 +155,7 @@ LeoGetRec(ScrnInfoPtr pScrn) if (pScrn->driverPrivate != NULL) return TRUE; - pScrn->driverPrivate = xnfcalloc(sizeof(LeoRec), 1); + pScrn->driverPrivate = XNFcallocarray(sizeof(LeoRec), 1); return TRUE; } |