mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-13 05:41:26 +01:00
sched.h: Use pid_t type for pid argument
MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33533
This commit is contained in:
parent
caacda7a3e
commit
65dd321054
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user