diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 17:27:29 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 17:27:29 +0200 |
commit | 80edfdfa036319e4b5d768ee003d82253831770d (patch) | |
tree | cbe57cc74ba987266f2e9251ec50c1522b0968bd | |
parent | 14d55de20e795d03a75ec03db301dd73615684b0 (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-wsfb/-/merge_requests/7>
-rw-r--r-- | src/wsfb_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wsfb_driver.c b/src/wsfb_driver.c index 81741df..fcab186 100644 --- a/src/wsfb_driver.c +++ b/src/wsfb_driver.c @@ -264,7 +264,7 @@ WsfbGetRec(ScrnInfoPtr pScrn) if (pScrn->driverPrivate != NULL) return TRUE; - pScrn->driverPrivate = xnfcalloc(sizeof(WsfbRec), 1); + pScrn->driverPrivate = XNFcallocarray(sizeof(WsfbRec), 1); return TRUE; } |