From nobody Fri Dec 17 06:30:12 2021 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 D3BC318F9699; Fri, 17 Dec 2021 06:30:12 +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 4JFfH84GpPz4tjL; Fri, 17 Dec 2021 06:30:12 +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 72DA217021; Fri, 17 Dec 2021 06:30:12 +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 1BH6UChq059729; Fri, 17 Dec 2021 06:30:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BH6UCAc059724; Fri, 17 Dec 2021 06:30:12 GMT (envelope-from git) Date: Fri, 17 Dec 2021 06:30:12 GMT Message-Id: <202112170630.1BH6UCAc059724@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 65dd321054cb - main - sched.h: Use pid_t type for pid argument 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 65dd321054cbbbcca192375b08843e860fc3b3c5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639722612; 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=kDzYaZ3M2e/kpLq2YpxLSesR45e9vyk9vsQP5pmCDG4=; b=xKbnCC2FgKlexdqwWsyNqgOKhWPCjYzvkmL54VRjGdFQslD1h9wxBvTIyL95FNCc1kvSFG VJazglJn6kzXE75ulisFrUEou3+Bng+jkImcverkqTqwamd0QFtQjwm/zrMejDrkcpVs3m VgpPkvs2+PjiqGKcDtcGvyq2QcG9LBKvo5C8lZbo0M/sDyhaEQOFi9XE+3SRCBI7/mAzWD 8Wdb9qxz/7TofH5Va1EDHx87q9Hao2LhEQPdzXGTcb4ND7JggBbj7F+gy6l1KUR2CX6A4W ODyGNE9cP3aB48V2oKxGE3DwRHCranG2sUJQ8kNRF0RWpcKDddbi+/8D8DGwvg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639722612; a=rsa-sha256; cv=none; b=CDhB/QM6+XsBHK7GpsWX23mT3oTP5nL1+M4E8oZxLWvfaIL3o9iEGO6xBjR5xNcPfomR6D RDKtF4iZFgLwoTozFyqrMRJHbdpR7GC5804gsYMrslXUaSAJ42jXIlupnipkmnG+WEIETb R25mrmTtRy+GDiXHqfqHGKfN7TtphcZ0IZMGhjUuaLQ6P7shMUPC4mOAccA535proYwF30 ZNwzVIvR/OjAQxIPNHJ8EWW8jt+XhT68t25Tyb2t3TArebPItxee6HkU2NOtvoT68ssan9 fgQX+ovNiwH9auQ9QVpL+N6SwC51ITYlb8UjxAJaYpUSKaQccZa4+FBCUy5s6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=65dd321054cbbbcca192375b08843e860fc3b3c5 commit 65dd321054cbbbcca192375b08843e860fc3b3c5 Author: David CARLIER AuthorDate: 2021-12-17 06:22:21 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-17 06:22:21 +0000 sched.h: Use pid_t type for pid argument MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33533 --- include/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sched.h b/include/sched.h index 2d4f301c9718..e03f076febb1 100644 --- a/include/sched.h +++ b/include/sched.h @@ -41,7 +41,7 @@ typedef struct _cpuset cpu_set_t; __BEGIN_DECLS #if __BSD_VISIBLE int sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset); -int sched_setaffinity(int pid, size_t cpusetsz, const cpuset_t *cpuset); +int sched_setaffinity(pid_t pid, size_t cpusetsz, const cpuset_t *cpuset); int sched_getcpu(void); #endif /* __BSD_VISIBLE */ __END_DECLS