From nobody Mon Sep 18 14:53:24 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 4Rq78P0bjMz4tJrf; Mon, 18 Sep 2023 14:53:25 +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 4Rq78N71cHz4dsn; Mon, 18 Sep 2023 14:53:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695048805; 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=/rIi8eGgMmS2XDg9onTp/NBNR/TpV0OhfGEWTWDigxY=; b=fBgWeAikAZ3ceVYDh81iEoXu1oxSBVxjrVHQ6r73PAsJ/Mp4IsCSovnet+xpH02FAbn7Fi LTQnDwUr83zOQrG5WLspcTHopT8ywfMU89p7DsFBsWs216/2rAUxbiIr3N2JdmrOJyPDie bj2cz/wgE9IZ0tg5/MPbXZR1Kx6K7COeTMtLqD84OwJTrkypHylFo4HxYjVabwSlm/PL6C D7efwtqnUxg0WvKYZc3xfEoEeKdWM+fXrvw3dv76wpqxvzAigBdiwN1BjaPItCdQcXz5Qx LoAvsyLf9U7hEbV7RzWD7T8O6sjJJT5AUoEQL7oyhHVCCXu7DUgoSfYoKgG5Cg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695048805; a=rsa-sha256; cv=none; b=PibgJqTOjPoJ1yPEg6/jKpMutVLmg06YkjNWOrlOWfuFDdTm0+63mKeCgudQo3p7ihrmR4 URu3llfG+uG/rHSWdX99NRfbtGJjthWY8mdlJG9xaaMIwZHbXgXHJOH4HtE9NoMDhJTy5B AofuVPZkw0Rn0pR1z33FYwqQ6n9Xp0pQNaqunNZWzFF+BiL+IEV6Rvs/+CEWAy/OXEPZXj ZJ77TG67w1xrMh0olCfDc9Vq/oheNIC/B27pP7LVhJMoEte1rdZIddCD2v89sOtnjs/HYg owf5Lm3hadDj0NibHKnmVAyYzd9kORNmme2ngJoISaIU4DW37gLvQpA8TTWvqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695048805; 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=/rIi8eGgMmS2XDg9onTp/NBNR/TpV0OhfGEWTWDigxY=; b=Ia12btwG4wGULhwyo5VtPhiec+5DR5hF+NZ9AF7s343A2nKIZpGGc6X8V/dFw7s9pCAZ9+ dOyZYUlleQxFo3B7VxCUcD/e+39IycBHZBRJDbr0tqirk5QsJvhoi3uB90Wl8ZlUi4AEQU bk0K93kukqjh2iYrE32CjqfZbs7dsrDTK2XW8iZDlGJNAnOu1AOAuvUeTzX/3iyHcHL8PV skVYXNLPXb4AJbwKRFyTokk0kpfkJ0aMjIADJ76P8WljF8bzt3+h8j/zvXr6RjmgKmmUep EdVyCoj2r8KCutbp/5b0HFgxwtVVVRxM4PxvUCfnKoqtiTB/NB+wgiXi+C9NLQ== 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 4Rq78N65JLzbFv; Mon, 18 Sep 2023 14:53:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38IErORL045985; Mon, 18 Sep 2023 14:53:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38IErOZe045982; Mon, 18 Sep 2023 14:53:24 GMT (envelope-from git) Date: Mon, 18 Sep 2023 14:53:24 GMT Message-Id: <202309181453.38IErOZe045982@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 794328fbc174 - main - linux(4): Staticize lsiginfo_to_siginfo 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 794328fbc174360a09b6ad341624e9bce46f0d2e Auto-Submitted: auto-generated The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=794328fbc174360a09b6ad341624e9bce46f0d2e commit 794328fbc174360a09b6ad341624e9bce46f0d2e Author: Dmitry Chagin AuthorDate: 2023-09-18 14:52:43 +0000 Commit: Dmitry Chagin CommitDate: 2023-09-18 14:52:43 +0000 linux(4): Staticize lsiginfo_to_siginfo It's not used outside of linux_signal.c While here fix the indentation. MFC after: 1 week --- sys/compat/linux/linux_signal.c | 2 +- sys/compat/linux/linux_signal.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c index 5b4f9c2adc6a..e3e3fc74a6a9 100644 --- a/sys/compat/linux/linux_signal.c +++ b/sys/compat/linux/linux_signal.c @@ -766,7 +766,7 @@ siginfo_to_lsiginfo(const siginfo_t *si, l_siginfo_t *lsi, l_int sig) } } -int +static int lsiginfo_to_siginfo(struct thread *td, const l_siginfo_t *lsi, siginfo_t *si, int sig) { diff --git a/sys/compat/linux/linux_signal.h b/sys/compat/linux/linux_signal.h index 3ef64c0007fb..3f3599f4027e 100644 --- a/sys/compat/linux/linux_signal.h +++ b/sys/compat/linux/linux_signal.h @@ -31,9 +31,7 @@ int linux_do_sigaction(struct thread *, int, l_sigaction_t *, l_sigaction_t *); void siginfo_to_lsiginfo(const siginfo_t *si, l_siginfo_t *lsi, l_int sig); -int lsiginfo_to_siginfo(struct thread *td, const l_siginfo_t *lsi, - siginfo_t *si, int sig); int linux_copyin_sigset(struct thread *td, l_sigset_t *, l_size_t, sigset_t *, - sigset_t **); + sigset_t **); #endif /* _LINUX_SIGNAL_H_ */