Boolify should_yield()

Do this ahead of adding a man page that describes the function. No
functional change.

Reviewed by:	kib, markj
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D38181
This commit is contained in:
Mitchell Horne 2023-02-09 11:35:11 -04:00
parent a7a452fedc
commit d570418bd8
2 changed files with 2 additions and 2 deletions

View File

@ -658,7 +658,7 @@ synch_setup(void *dummy __unused)
loadav(NULL);
}
int
bool
should_yield(void)
{

View File

@ -1217,7 +1217,7 @@ void sess_hold(struct session *);
void sess_release(struct session *);
int setrunnable(struct thread *, int);
void setsugid(struct proc *p);
int should_yield(void);
bool should_yield(void);
int sigonstack(size_t sp);
void stopevent(struct proc *, u_int, u_int);
struct thread *tdfind(lwpid_t, pid_t);