Page MenuHomeFreeBSD

Use nitems().
ClosedPublic

Authored by araujo on Mar 10 2017, 3:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 14, 8:43 AM
Unknown Object (File)
Fri, Apr 10, 12:17 AM
Unknown Object (File)
Thu, Apr 9, 3:02 PM
Unknown Object (File)
Wed, Apr 8, 11:25 PM
Unknown Object (File)
Sun, Apr 5, 4:53 PM
Unknown Object (File)
Tue, Mar 24, 1:38 AM
Unknown Object (File)
Mon, Mar 23, 6:42 PM
Unknown Object (File)
Mon, Mar 23, 5:35 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.