diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 16:03:28 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 16:03:28 +0200 |
commit | bae05c30a729c97f9d45943581299459a8c62e4d (patch) | |
tree | 0f9685efb454663b620fb18727b5318ac2beb8a9 /src/atii2c.c | |
parent | 76760525c13b5d659e4a28fb08e89de46ce09e11 (diff) |
use XNFcallocarray() instead of xnfcalloc macro
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-mach64/-/merge_requests/13>
Diffstat (limited to 'src/atii2c.c')
-rw-r--r-- | src/atii2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atii2c.c b/src/atii2c.c index a0fa050..7ede076 100644 --- a/src/atii2c.c +++ b/src/atii2c.c @@ -318,7 +318,7 @@ ATICreateI2CBusRec ) { I2CBusPtr pI2CBus; - ATII2CPtr pATII2C = xnfcalloc(1, SizeOf(ATII2CRec)); + ATII2CPtr pATII2C = XNFcallocarray(1, SizeOf(ATII2CRec)); if (!(pI2CBus = xf86CreateI2CBusRec())) { |