From 88652eeb10cd9381aafb2d55e9474bb0799630b1 Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 11 Dec 2025 20:43:24 +0100 Subject: rename arraylength macro -> countof --- amd64/sysv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amd64/sysv.c') diff --git a/amd64/sysv.c b/amd64/sysv.c index 020f597..486c0c0 100644 --- a/amd64/sysv.c +++ b/amd64/sysv.c @@ -69,7 +69,7 @@ static int abiarg(short r[2], uchar cls[2], uchar *r2off, int *ni, int *nf, int *ns, union irtype typ) { static const uchar intregs[] = { RDI, RSI, RDX, RCX, R8, R9 }; - enum { NINT = arraylength(intregs), NFLT = 8 }; + enum { NINT = countof(intregs), NFLT = 8 }; int ret, ni_save, nf_save; if (!typ.isagg) { -- cgit v1.2.3