]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fsx: fix build with WARNS=6
authorAlan Somers <asomers@FreeBSD.org>
Mon, 21 Sep 2020 17:48:28 +0000 (17:48 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Mon, 21 Sep 2020 17:48:28 +0000 (17:48 +0000)
commit34e0b83ccb25fc7146b48aa71b7aa4ded71dc982
treefc46d699e8b76540f3d0581a07511ef3040655cd
parent45f650814976a385ff643664ff5fe15e8fece6da
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
tools/regression/fsx/Makefile
tools/regression/fsx/fsx.c