diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 16:59:17 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-10 17:55:26 +0200 |
commit | 6eb5c1640e6b7065d1df57050fe056635d85935a (patch) | |
tree | 6c82c385622d241b3996f30fe23851acf63c205e | |
parent | 896da557444e70237e599725dbe6d58e86047da8 (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-suncg14/-/merge_requests/7>
-rw-r--r-- | src/cg14_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cg14_driver.c b/src/cg14_driver.c index 1faa48b..ad44c40 100644 --- a/src/cg14_driver.c +++ b/src/cg14_driver.c @@ -155,7 +155,7 @@ CG14GetRec(ScrnInfoPtr pScrn) if (pScrn->driverPrivate != NULL) return TRUE; - pScrn->driverPrivate = xnfcalloc(sizeof(Cg14Rec), 1); + pScrn->driverPrivate = XNFcallocarray(sizeof(Cg14Rec), 1); return TRUE; } |