From owner-dev-commits-src-all@freebsd.org Sat Aug 28 13:38:42 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 983CF67499A; Sat, 28 Aug 2021 13:38:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gxd2p3fF1z4c3P; Sat, 28 Aug 2021 13:38:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 60EFE1796C; Sat, 28 Aug 2021 13:38:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17SDcgBD054622; Sat, 28 Aug 2021 13:38:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17SDcgnx054621; Sat, 28 Aug 2021 13:38:42 GMT (envelope-from git) Date: Sat, 28 Aug 2021 13:38:42 GMT Message-Id: <202108281338.17SDcgnx054621@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: 4544929cb55e - main - Silence unused parameter warnings in fspacectl(2) bootstrap stub MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4544929cb55e0cb8496ec23e565aab8251e22e81 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2021 13:38:42 -0000 The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=4544929cb55e0cb8496ec23e565aab8251e22e81 commit 4544929cb55e0cb8496ec23e565aab8251e22e81 Author: Dimitry Andric AuthorDate: 2021-08-28 13:37:24 +0000 Commit: Dimitry Andric 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); +}