Re: physmem: Use countof.
Bruno Haible via Gnulib discussion list <[email protected]> Thu, 16 Jul 2026 10:17:58 +0200
| Newsgroups | gmane.comp.lib.gnulib.bugs |
|---|---|
| Message-ID | <3577504.HovnAMPojK@cagnes> |
Collin Funk wrote: > While improving the NetBSD support in lib/physmem.c, I noticed some old > occurrences of ARRAY_SIZE. Since I need to use that or countof for > another sysctl, I pushed the attached patch to change the existing > calls of ARRAY_SIZE to countof. Thanks. Apparently both Paul and me missed this one in the March 2026 series of commits. Bruno