Page MenuHomeFreeBSD

Use nitems().
ClosedPublic

Authored by araujo on Mar 10 2017, 3:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 5:03 AM
Unknown Object (File)
Sep 12 2025, 10:46 PM
Unknown Object (File)
Aug 16 2025, 2:19 AM
Unknown Object (File)
Aug 1 2025, 10:17 PM
Unknown Object (File)
Jul 29 2025, 3:33 AM
Unknown Object (File)
Jul 22 2025, 9:03 PM
Unknown Object (File)
Jul 18 2025, 7:58 PM
Unknown Object (File)
Jul 7 2025, 2:06 PM
Subscribers

Details

Summary

As part of the clean up/simplify code that I was work on last year, convert it to use nitems().

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added inline comments.
usr.bin/vmstat/vmstat.c
292 ↗(On Diff #26106)

Remove the unnecessary cast and parens too?

This revision is now accepted and ready to land.Mar 10 2017, 4:33 AM
This revision was automatically updated to reflect the committed changes.