From nobody Mon Apr 24 15:54:08 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 4Q4qSJ50T6z471Mt; Mon, 24 Apr 2023 15:54:08 +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 4Q4qSJ3FxHz40YR; Mon, 24 Apr 2023 15:54:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682351648; 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=qRvKuSH3l1z9uYPQUXuueBd2Xh22mLAC+ZVzNytHp80=; b=JWmDJORlIBFvgAJJQI/vitZcgXIKl5ke/tL7eVecwWYbWCz6pGxRTnQOg1Zd3WAYSsrgwX FivlDjgaTut7yjJlGi7SMqe2IjFuzVxL7VKvYlqIpb6XJL4fVpP4M1olE/GCWWfsbp9ICm I9Cjis+xo3XJixu1qU7EjZM7KcpsYHj+3omCXctqhuOBMu2X/u2y8wMDfCFvc2VCMorbc+ s72dTAYev3tQb/SeWPCoBEGJIZlDowuKsjfmEJX9JCQJh0Eit2EprsgQvtRYEz+akNwZJd 3FKrNHWkx/lHzRVVzsTdbtieEh9nIsJtupZbMbbV4pNYQQxBia4ioLkzcaLlTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682351648; 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=qRvKuSH3l1z9uYPQUXuueBd2Xh22mLAC+ZVzNytHp80=; b=p0ZFV2l0s6tjjL/tLUWZIrOpDR7F+1MEcH+LGmhYQluy/rOX8eXZVq/JoAfMJAzMXTptTH HXwylYKY4GIkNgdAHhRt+3TldY57A6mCnilpl5wDfEXSw7MZh3qwCoaK3X4rDG+3Qf53y0 o3xk4lrKPN4o5qFkLdE2D5+yGPF05AQUNLvZEIiAGsn01CDswE/ageykXY9/KkouJTSJSj ospECAfjp9IbSqnGBkmqaT2P3/rlf42fxb+/ZHhmx/RaqU4fzU7GovNcGpk5VoQNq5DjJ9 dBqkkl4vBguqGzp5gDo+mL1F1yg1khzQVG8Olv3uG0IwMlY+PUmHR0AX3xOrSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682351648; a=rsa-sha256; cv=none; b=adSfubHylNAzDib13U/t/vq+B0iuMqPNdZhmsLGbWwXhyxLbTZiSlYA7h7naPaLxJDouHo 7dBNbpAwdh4hOkMh1CCQS4Nv7Rbf8tMonkjp9gD+7lM3jDPmc+v7O/1ryMkT5ezcmcsRIb ayKdiY1XCYQCadMMFlQVPV55yl4I/2BDpCVmPEsOJpFDpHjucVC5wp7F6FYoW4aw9d7sHa KAtJN7wRN/feQZ5YC/yP3Yz5/S+Fn7B4QKVozpIOqbCr7gEMUkaPUxprznh+pKqfs7DiAd V8bt3z/kYrpDfFspObtaxSlYirNjtizBEsWESkfWIaE4SUhn/oYGwTcXSv6Xng== 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 4Q4qSJ2MsGzX84; Mon, 24 Apr 2023 15:54:08 +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 33OFs8eO099908; Mon, 24 Apr 2023 15:54:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33OFs8XG099906; Mon, 24 Apr 2023 15:54:08 GMT (envelope-from git) Date: Mon, 24 Apr 2023 15:54:08 GMT Message-Id: <202304241554.33OFs8XG099906@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: 7b043ce59864 - main - rpc.lockd: Use valid prototypes for function declarations 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: 7b043ce598649e54b9e752a670f6dd9c20391210 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=7b043ce598649e54b9e752a670f6dd9c20391210 commit 7b043ce598649e54b9e752a670f6dd9c20391210 Author: John Baldwin AuthorDate: 2023-04-24 15:53:49 +0000 Commit: John Baldwin CommitDate: 2023-04-24 15:53:49 +0000 rpc.lockd: Use valid prototypes for function declarations with no arguments. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39727 --- usr.sbin/rpc.lockd/lockd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rpc.lockd/lockd.c b/usr.sbin/rpc.lockd/lockd.c index 24dacc81a37a..0a4832256b4e 100644 --- a/usr.sbin/rpc.lockd/lockd.c +++ b/usr.sbin/rpc.lockd/lockd.c @@ -845,7 +845,7 @@ sigalarm_handler(void) } void -usage() +usage(void) { errx(1, "usage: rpc.lockd [-d ]" " [-F] [-g ] [-h ] [-p ]"); @@ -904,7 +904,8 @@ init_nsm(void) /* * Out of memory, fatal */ -void out_of_mem() +void +out_of_mem(void) { syslog(LOG_ERR, "out of memory"); exit(2);