mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-13 14:40:22 +00:00
libbsdstat: fix warnings, set WARNS
libbsdstat can build with WARNS=6 with a one line change.
This commit is contained in:
parent
0bd8e9dcc4
commit
801a8f9497
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262992
@ -4,8 +4,6 @@ LIB= bsdstat
|
|||||||
SHLIB_MAJOR= 1
|
SHLIB_MAJOR= 1
|
||||||
PRIVATELIB=
|
PRIVATELIB=
|
||||||
|
|
||||||
WARNS?= 3
|
|
||||||
|
|
||||||
SRCS= bsdstat.c
|
SRCS= bsdstat.c
|
||||||
INCS= bsdstat.h
|
INCS= bsdstat.h
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ bsdstat_update_tot(struct bsdstat *sf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
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);
|
fprintf(stderr, "%s: don't know how to get stat #%u\n", sf->name, s);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user