git: 65dd321054cb - main - sched.h: Use pid_t type for pid argument

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Fri, 17 Dec 2021 06:30:12 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=65dd321054cbbbcca192375b08843e860fc3b3c5

commit 65dd321054cbbbcca192375b08843e860fc3b3c5
Author:     David CARLIER <devnexen@gmail.com>
AuthorDate: 2021-12-17 06:22:21 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
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