From nobody Mon Apr 24 15:54:09 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q4qSK4QgHz471Dh; Mon, 24 Apr 2023 15:54:09 +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 4Q4qSK3s0Sz40Ym; Mon, 24 Apr 2023 15:54:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682351649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E5wmC0RWxk6EN/c7wcYKDxK2GbYwP9om8G8MQQEyES8=; b=bb2VpFCx3OG8914QVGeTYoqmdwG/vMUevGcurFvbI68mO1v3ckiDeMb+5aCoVpYVcrcfD7 01wwUk+gLxsWB6VfrDdkj+lBMHSjkkxketLhtbZ24SULVamCN8Ogs2IIzCT4BIFMYYxYGV kM0XWbQboD5JT3xQ7qs+QDCY/J9yWuau2Aqgs3skNDNSRhrc3tqa+cjSPCPhlRx1ne4UgW BXpIutcxqU88QMnRtd6s5FKK078SxC0NAp5q8jOcYBO/I7VblDPwYD2Cf/GslN9ufhZz0s nQycgcPqUlVqrDbZ6LBkzd+kHEbs0VEa2FKbX4f4XkGH9thsHA20HuTIR7NQuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682351649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E5wmC0RWxk6EN/c7wcYKDxK2GbYwP9om8G8MQQEyES8=; b=Zn6k3uN6apAheUjXFNXlD+AlZDgq8OvHitGPCH74uC+yjdBsPgNiXT2j4gq+3fv73Z0e7Q H0N9+BEOdENUPZZk375n3U2e/WDq/l+EsGO9Cgf9IFhkEtcKQA+L27KtX7iBBKQ8y9zFmX h0q8VZYwcndVNCyNKkIHtVA/qKi/RIOJEbRYZyNbryuGpJGTf+/fcrZQIk12DqJ79yxOCQ llFEW17ZmUx5etJu5XTzwNfOWVwUdAKSK1lwFA8IJBH2mfQPKl+LaT5VzTUPflwk06gvbq cHMg0Hlbo6He7X3qq54JduZ9El1f/J66TEW6uJB+3xcTbeUMz5atk4kQ/Fpekw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682351649; a=rsa-sha256; cv=none; b=I2munshFh1zQ4iNFB7tTEPVPr2YKHykc4/9zjaESGqoqfh6Jxr1A3cF7vewVuOCA7l/wS0 H+045KChQhBDdc7AT8twcrGSAB9e75j7HUFsMycE2HNiY/x5kag7JdvwRGApds4VqdtssF fs8NuXS8uTZWPN2Hg7nqgXvT7L7IdY01Vz9M7NqjAre0p+uItXr8X//eZQkl+lbdT6/Fiw rW1ynuSpx6aPBJ5LGytzzVSBKo5KveXGeqXclNHtbUzTsf9uKw7VEckM7kBBsCfkkZG9Si vbzyoVUDeSuOqUm5wAFa+AyV3/3t7/cwQw+digWzGDyH5lXHNV9wntdqO8Sb6w== 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 4Q4qSK2xgQzWWd; Mon, 24 Apr 2023 15:54:09 +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 33OFs9PP099933; Mon, 24 Apr 2023 15:54:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33OFs94U099932; Mon, 24 Apr 2023 15:54:09 GMT (envelope-from git) Date: Mon, 24 Apr 2023 15:54:09 GMT Message-Id: <202304241554.33OFs94U099932@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: bd22d268d36c - main - rpc.umntall: Use valid prototype for function declaration with no arguments. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bd22d268d36c94d3806890a0713697ccd1e1f796 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=bd22d268d36c94d3806890a0713697ccd1e1f796 commit bd22d268d36c94d3806890a0713697ccd1e1f796 Author: John Baldwin AuthorDate: 2023-04-24 15:53:49 +0000 Commit: John Baldwin CommitDate: 2023-04-24 15:53:49 +0000 rpc.umntall: Use valid prototype for function declaration with no arguments. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39728 --- usr.sbin/rpc.umntall/rpc.umntall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/rpc.umntall/rpc.umntall.c b/usr.sbin/rpc.umntall/rpc.umntall.c index 74df093e6d18..1ee5c6a7eb41 100644 --- a/usr.sbin/rpc.umntall/rpc.umntall.c +++ b/usr.sbin/rpc.umntall/rpc.umntall.c @@ -261,7 +261,8 @@ xdr_dir(XDR *xdrsp, char *dirp) { } static void -usage() { +usage(void) +{ (void)fprintf(stderr, "%s\n", "usage: rpc.umntall [-kv] [-e expire] [-h host] [-p path]"); exit(1);