summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2014-03-11 01:10:44 +0000
committerEitan Adler <eadler@FreeBSD.org>2014-03-11 01:10:44 +0000
commit801a8f949794563630ff433d1942f27c6fa36ebf (patch)
tree855f6640bcf347b62542dcc4fd4705879592f0ab
parent0bd8e9dcc42c45f857c9989c87d7450aa00ecf73 (diff)
Notes
-rw-r--r--lib/libbsdstat/Makefile2
-rw-r--r--lib/libbsdstat/bsdstat.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/libbsdstat/Makefile b/lib/libbsdstat/Makefile
index aaca95336ea41..aef0ec241923e 100644
--- a/lib/libbsdstat/Makefile
+++ b/lib/libbsdstat/Makefile
@@ -4,8 +4,6 @@ LIB= bsdstat
SHLIB_MAJOR= 1
PRIVATELIB=
-WARNS?= 3
-
SRCS= bsdstat.c
INCS= bsdstat.h
diff --git a/lib/libbsdstat/bsdstat.c b/lib/libbsdstat/bsdstat.c
index 9d667313f1bd7..96fba009ba5e3 100644
--- a/lib/libbsdstat/bsdstat.c
+++ b/lib/libbsdstat/bsdstat.c
@@ -81,7 +81,7 @@ bsdstat_update_tot(struct bsdstat *sf)
}
static int
-bsdstat_get(struct bsdstat *sf, int s, char b[], size_t bs)
+bsdstat_get(struct bsdstat *sf, int s, char b[] __unused, size_t bs __unused)
{
fprintf(stderr, "%s: don't know how to get stat #%u\n", sf->name, s);
return 0;