From nobody Fri Jan 14 18:10:24 2022 X-Original-To: dev-commits-src-branches@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 B88751942588; Fri, 14 Jan 2022 18:10:26 +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 4Jb8V944Hkz4pLZ; Fri, 14 Jan 2022 18:10:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642183825; 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=SUpkRK+3LqBDA5MrcUk9oMexthOIHBAXqxKUINrIX1I=; b=s0QK1Fs5GPe5Odm0ETVBioP4wH0zybm6yFqHwugPdzEekqvqiSL6iSGJsDnubcap96lvqP hrKd6VhbS8oQ/y22zgtXlSyLTwPT11KEPhxItg7zK2XafvGkfiuHKa+ovvmMfIrxw6LCz6 ZzXR0R4c2uo0HzWwgFmSZEAyFG9lzDlqvrxDIMiuXXl6rhBvIT2HVwia7/lxzW/VDix6+e PCXP+Hu3R4Kvcza/iTt97Am+EoLrGDK2I72pjNKqWvWZJPI4B/KerrcCWiCwyzGvq5Y0+J SPiFfuYeB8LT2mE8QJw8OrtRcpmB384eKwDd5KoNz/hwRe3l2stqF2sRSun3RA== 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 C2B7518573; Fri, 14 Jan 2022 18:10:24 +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 20EIAOCF095437; Fri, 14 Jan 2022 18:10:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20EIAOIC095436; Fri, 14 Jan 2022 18:10:24 GMT (envelope-from git) Date: Fri, 14 Jan 2022 18:10:24 GMT Message-Id: <202201141810.20EIAOIC095436@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 86227aa9750c - stable/13 - sched.h: Use pid_t type for pid argument List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 86227aa9750c16f69b67af8f2074ecc3cb032559 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642183825; 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=SUpkRK+3LqBDA5MrcUk9oMexthOIHBAXqxKUINrIX1I=; b=oeG5lWnYv7P2TQcD36I4ISbvzy+0RZto6+bteWafttor8uILkyit45UvNbB5a1vhdn1wXA Njjboxuu/e9vmCWEs98vzM1ILvh6+Yr31Hiwd1tADvVMERioyVFKHrAuGHwxKfAEbt2nJ8 IdfwEHOt3VZqtf3GI/Lq4IiAzcAeuSVZ8B5HiQfcWs2FI304M97tA1d3uR9dvpbJVS+HoU Sw6V/pZdCrHoRc4nPr7phnHInlufeCACY0/siaSrNts85sVkTbj2EYxKF5NrRCdoozdqNn RmWV5M6zKGCnXL8EFIeSTCump4AojrTs7bl8ejNYRkzOQx7bLjjOXHk1AWot2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642183825; a=rsa-sha256; cv=none; b=t7ChiaqI/zAElo5fD9al7tgFtv6SvWigjcT1+Kz2IML0YIokk7PnXpHR/ZU6D9l7qmeL8o 2awQ3lnis7AeMKFDS2pUw6cbO2mSGTWAOEJO9VVYJA/HfVXkFl4uJBZMqzWhr0z7hRsEVh ig0q5yIpZ3UdKrq9CDGk6G6PMFsjUKquk3hOXFoQawzyuolg2xoLDFMFBoOpDyOgbf8yLE E1Mf0cBKpazR1YXD7o6sklWN/b6AhpCO2EuezdbksjFT7YGNHvP4pqHCWmv5IjGZASSGYw /LjzpN/dVJjNz89VmqqwOJTWqCE0UYYdDTgDu84zQK+gcPs+GU2/ewNm3XqWHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=86227aa9750c16f69b67af8f2074ecc3cb032559 commit 86227aa9750c16f69b67af8f2074ecc3cb032559 Author: David CARLIER AuthorDate: 2021-12-17 06:22:21 +0000 Commit: Konstantin Belousov CommitDate: 2022-01-14 16:17:30 +0000 sched.h: Use pid_t type for pid argument (cherry picked from commit 65dd321054cbbbcca192375b08843e860fc3b3c5) --- include/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sched.h b/include/sched.h index 460d3bfed154..02b0d5e51e94 100644 --- a/include/sched.h +++ b/include/sched.h @@ -44,7 +44,7 @@ __BEGIN_DECLS #if __BSD_VISIBLE #ifdef _WITH_CPU_SET_T 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 /* _WITH_CPU_SET_T */ #endif /* __BSD_VISIBLE */