Page MenuHomeFreeBSD

Use nitems().
ClosedPublic

Authored by araujo on Mar 10 2017, 3:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 13 2024, 5:55 PM
Unknown Object (File)
Jan 29 2024, 12:58 PM
Unknown Object (File)
Jan 4 2024, 6:24 AM
Unknown Object (File)
Dec 22 2023, 5:13 PM
Unknown Object (File)
Dec 22 2023, 5:10 PM
Unknown Object (File)
Dec 20 2023, 5:04 AM
Unknown Object (File)
Dec 2 2023, 8:10 AM
Unknown Object (File)
Sep 20 2023, 10:40 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.