HomeFreeBSD

top(1): ansify, style(9). and nits

Description

top(1): ansify, style(9). and nits

  • Prefer using ansi prototypes rather than C prototypes
  • Keep type on separate line from name of function
  • Try to keep things const where possible. This will help get to WARNS=6
  • switch to "bool" where it makes sense

Details

Provenance
eadlerAuthored on
Parents
rS334508: Remove the "pass" variable from the page daemon control loop.
Branches
Unknown
Tags
Unknown