diff options
author | asomers <asomers@FreeBSD.org> | 2016-02-18 20:08:01 +0000 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2016-02-18 20:08:01 +0000 |
commit | a107331a23039b0c17735087682d509a7ae638e1 (patch) | |
tree | 0057a3ab68a3d07df93f293d14a4766b93131713 /usr.sbin/iostat/Makefile | |
parent | 2da98a8ece6121545565931a785cf29d7c6c5fc0 (diff) | |
download | FreeBSD-src-a107331a23039b0c17735087682d509a7ae638e1.zip FreeBSD-src-a107331a23039b0c17735087682d509a7ae638e1.tar.gz |
Fix compiler warnings in iostat
Raise WARNS from 1 to 6 (the default)
Fix warnings:
* Use C99 designated initializers for structs, and initialize all fields
* Mark global variables as static
* Mark unused function arguments
* Be careful about signed/unsigned comparisons
Reviewed by: eadler
MFC after: 4 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D5328
Diffstat (limited to 'usr.sbin/iostat/Makefile')
-rw-r--r-- | usr.sbin/iostat/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/iostat/Makefile b/usr.sbin/iostat/Makefile index dfbf69d..4d74fe1 100644 --- a/usr.sbin/iostat/Makefile +++ b/usr.sbin/iostat/Makefile @@ -6,6 +6,4 @@ MAN= iostat.8 LIBADD= devstat kvm m -WARNS?= 1 - .include <bsd.prog.mk> |