HomeFreeBSD

fsx: fix build with WARNS=6

Description

fsx: fix build with WARNS=6

  • signed/unsigned comparisons
  • use standard warn(3)
  • Suppress warnings about local vars and funcs not declared static
  • const-correctness
  • declaration shadows a variable in the global scope

Reviewed by: kevans
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D26516

Details

Provenance
asomersAuthored on
Reviewer
kevans
Differential Revision
D26516: fsx: fix build with WARNS=6
Parents
rS365955: Hide tunable definitions behind _KERNEL
Branches
Unknown
Tags
Unknown