From 76760525c13b5d659e4a28fb08e89de46ce09e11 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 8 May 2024 12:50:48 +0200 Subject: use XNFalloc() instead of xnfalloc xnfalloc is just an alias for XNFalloc() 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 Part-of: --- src/aticonfig.c | 2 +- src/atimach64accel.c | 2 +- src/atimach64xv.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aticonfig.c b/src/aticonfig.c index cc8435e..eef46ea 100644 --- a/src/aticonfig.c +++ b/src/aticonfig.c @@ -262,7 +262,7 @@ ATIProcessOptions ATIPtr pATI ) { - OptionInfoPtr PublicOption = xnfalloc(ATIPublicOptionSize); + OptionInfoPtr PublicOption = XNFalloc(ATIPublicOptionSize); OptionInfoRec PrivateOption[] = { { /* ON: Let BIOS change display(s) */ diff --git a/src/atimach64accel.c b/src/atimach64accel.c index 0453f22..9293c5e 100644 --- a/src/atimach64accel.c +++ b/src/atimach64accel.c @@ -1034,7 +1034,7 @@ ATIMach64AccelInit pATI->ExpansionBitmapWidth = /* DWord size in bits */ ((pATI->displayWidth * pATI->XModifier) + 31) & ~31U; pATI->ExpansionBitmapScanlinePtr[1] = - (CARD32 *)xnfalloc((pATI->ExpansionBitmapWidth >> 3) + 63); + (CARD32 *)XNFalloc((pATI->ExpansionBitmapWidth >> 3) + 63); pATI->ExpansionBitmapScanlinePtr[0] = (pointer)(((unsigned long)pATI->ExpansionBitmapScanlinePtr[1] + 63) & ~63UL); diff --git a/src/atimach64xv.c b/src/atimach64xv.c index 0aa8852..bb3f486 100644 --- a/src/atimach64xv.c +++ b/src/atimach64xv.c @@ -1370,7 +1370,7 @@ ATIMach64XVInitialiseAdaptor if (!(pAdaptor = xf86XVAllocateVideoAdaptorRec(pScreenInfo))) return 0; - ppAdaptor = xnfalloc(sizeof(pAdaptor)); + ppAdaptor = XNFalloc(sizeof(pAdaptor)); ppAdaptor[0] = pAdaptor; pAdaptor->nPorts = 1; -- cgit v1.2.3