Page MenuHomeFreeBSD

Use nitems().
ClosedPublic

Authored by araujo on Mar 10 2017, 3:34 AM.
Tags
None
Referenced Files
F110275081: D9937.diff
Sun, Feb 16, 2:26 AM
Unknown Object (File)
Jan 17 2025, 3:37 PM
Unknown Object (File)
Jan 13 2025, 12:17 AM
Unknown Object (File)
Jan 11 2025, 1:24 AM
Unknown Object (File)
Dec 8 2024, 12:53 PM
Unknown Object (File)
Nov 26 2024, 3:03 AM
Unknown Object (File)
Nov 22 2024, 11:32 PM
Unknown Object (File)
Nov 22 2024, 7:09 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

Event Timeline

markj added inline comments.
usr.bin/vmstat/vmstat.c
292

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.