Page MenuHomeFreeBSD

Use nitems().
ClosedPublic

Authored by araujo on Mar 10 2017, 3:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 8, 8:17 AM
Unknown Object (File)
Tue, Nov 25, 1:20 AM
Unknown Object (File)
Sat, Nov 22, 6:46 PM
Unknown Object (File)
Fri, Nov 21, 2:18 AM
Unknown Object (File)
Fri, Nov 21, 2:13 AM
Unknown Object (File)
Fri, Nov 21, 2:11 AM
Unknown Object (File)
Fri, Nov 21, 2:09 AM
Unknown Object (File)
Mon, Nov 17, 4:55 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.