The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=4544929cb55e0cb8496ec23e565aab8251e22e81
commit 4544929cb55e0cb8496ec23e565aab8251e22e81 Author: Dimitry Andric <[email protected]> AuthorDate: 2021-08-28 13:37:24 +0000 Commit: Dimitry Andric <[email protected]> CommitDate: 2021-08-28 13:37:43 +0000 Silence unused parameter warnings in fspacectl(2) bootstrap stub While here, replace spaces with tabs and add a newline at EOF. Fixes: 5425ba8332571e57f9fe623346cb9d83293264d4 MFC after: 3 days --- tools/build/fspacectl.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tools/build/fspacectl.c b/tools/build/fspacectl.c index c17802c51e01..13abca23a318 100644 --- a/tools/build/fspacectl.c +++ b/tools/build/fspacectl.c @@ -36,9 +36,10 @@ __FBSDID("$FreeBSD$"); * This is currently a stub implementation of fspacectl(2). */ int -fspacectl(int fd, int cmd, const struct spacectl_range *rqsr, int flags, - struct spacectl_range *rmsr) +fspacectl(int fd __unused, int cmd __unused, + const struct spacectl_range *rqsr __unused, int flags __unused, + struct spacectl_range *rmsr __unused) { - errno = ENOSYS; - return (-1); -} \ No newline at end of file + errno = ENOSYS; + return (-1); +} _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
