diff --git a/lib/libbsdstat/Makefile b/lib/libbsdstat/Makefile index aaca95336ea4..aef0ec241923 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 9d667313f1bd..96fba009ba5e 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;