From nobody Mon Feb 13 18:24:41 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 4PFt6L1G86z3pg3C; Mon, 13 Feb 2023 18:24: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 4PFt6L0qCwz3yf6; Mon, 13 Feb 2023 18:24:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676312682; 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=bvTEAYMCHOLq6f9LB++jvbxCNlc/5nEqtxFTGQ8j7sw=; b=yVAYPa5AxIes/k7V5JCNWa8DTpiAArSYJrbxlHjfkjTimAkds0o+bq8bk2qSez1EN93SeO KIpOQh3MjPvFIjBD2VLFSnMxDTBcRUEkgR2EL3RZ3xrb7lXLpcBrv8VzUvmhuWMlbmd2Uv goNVSBDI2gaRhFK5Wj0mmQrfdwOXFHKYzJcQ/0JJAruzcw71Umqbj0kxg2VFioazweFA+6 aETYRpxI4cbkyfiWkyjm0c5OKS873nvuCk3gOFdIKetFtvi9bB12UZjT90eatfRHVaH6E1 5RcU+HdR1WpzOE2Mq1nZQ0e5P/vguXOFiat6Yf3U66fh2UHVGTWSmG86XmKPTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676312682; 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=bvTEAYMCHOLq6f9LB++jvbxCNlc/5nEqtxFTGQ8j7sw=; b=YeKWp61oCqV+fCY5QULdYQfv3KF0plu1g4jod1QssuyXaRc6/KEYdsn4vImPwLPnOGT1Kf 8pNFTyki2UO7f+GLsGXs5P43TE/NVsNflacFOGh2fNR8USDu+AdFfbPecBTprdD8R4yE22 0s7nFdb7lnCpV2qHA7wxh5IQg5uvNNq0PTYV4IZS+tN8Q3Hd2M/w5tHwg4NkAeV9EFjRot hMHi7+UpuJo7LbEGmRTpYgCO8VwRrubh5FIY4HoCzIT4C+4hhZgLrqlz325qH3Ua5klwHi QyS3L2qPIin/m67AzrIzsxkClWsiTcJB14ij3SwQGLfcnyms+ImFscZiq2b8pQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676312682; a=rsa-sha256; cv=none; b=nx/k953eegoA5Q5xXQaVG2GBibmePuYp833vPbQRKvOZL4jqA4cW7UWOF+7QHm84RMqq/e +78nGzWalbMzmHjDtCMF/zNR5/TQjATAr8XjlHseLzFaBgkuw+z7InaDYhLnoUy9r4ATp0 4LG9mqDFT3y491nRoSrcnecyuEs8993RUmtCiUuTX1DP5J63eSXy6fM+Ju9ad1ogrqqqqO EH5FT4hNflI8u66FSX42o+qZPZxQGaLaOvyZgnvROAHkuWyqdHs9NXjSscE0zZwtCHNc22 Q5Njv9JQLbHr+THBuEJIWY5ufDZ8WnUfk9r4ayfFfqtLZLgEg5fHxMgchsx96w== 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 4PFt6K6zZhzT2m; Mon, 13 Feb 2023 18:24:41 +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 31DIOf7j025991; Mon, 13 Feb 2023 18:24:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31DIOfR9025990; Mon, 13 Feb 2023 18:24:41 GMT (envelope-from git) Date: Mon, 13 Feb 2023 18:24:41 GMT Message-Id: <202302131824.31DIOfR9025990@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 00343b4adcfa - main - uipc: ansify 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: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 00343b4adcfa01d7e64ae345768af8f11a10d816 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=00343b4adcfa01d7e64ae345768af8f11a10d816 commit 00343b4adcfa01d7e64ae345768af8f11a10d816 Author: Mateusz Guzik AuthorDate: 2023-02-13 18:20:29 +0000 Commit: Mateusz Guzik CommitDate: 2023-02-13 18:20:29 +0000 uipc: ansify Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/kern/uipc_syscalls.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index cbf45e53f96f..496e93d76bb0 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -278,12 +278,8 @@ kern_listen(struct thread *td, int s, int backlog) * accept1() */ static int -accept1(td, s, uname, anamelen, flags) - struct thread *td; - int s; - struct sockaddr *uname; - socklen_t *anamelen; - int flags; +accept1(struct thread *td, int s, struct sockaddr *uname, socklen_t *anamelen, + int flags) { struct sockaddr *name; socklen_t namelen; @@ -447,18 +443,14 @@ done: } int -sys_accept(td, uap) - struct thread *td; - struct accept_args *uap; +sys_accept(struct thread *td, struct accept_args *uap) { return (accept1(td, uap->s, uap->name, uap->anamelen, ACCEPT4_INHERIT)); } int -sys_accept4(td, uap) - struct thread *td; - struct accept4_args *uap; +sys_accept4(struct thread *td, struct accept4_args *uap) { if (uap->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK))