diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 12:50:48 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 12:50:48 +0200 |
commit | 76760525c13b5d659e4a28fb08e89de46ce09e11 (patch) | |
tree | a6065dc94fe17ae461c45fa9b982d92a3a07f73d | |
parent | cff9fb78d5a4d52f05d7f525183b79209daa224c (diff) |
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 <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-mach64/-/merge_requests/13>
-rw-r--r-- | src/aticonfig.c | 2 | ||||
-rw-r--r-- | src/atimach64accel.c | 2 | ||||
-rw-r--r-- | 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; |