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 Sep 21 2020, 5:48 PM
Parents
rG45f650814976: Hide tunable definitions behind _KERNEL
Branches
Unknown
Tags
Unknown

Event Timeline