Date: Wed, 16 Sep 2020 06:02:30 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365790 - in head/sys: kern sys Message-ID: <202009160602.08G62UFa054224@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Wed Sep 16 06:02:30 2020 New Revision: 365790 URL: https://svnweb.freebsd.org/changeset/base/365790 Log: Use standard bool type, instead of non-standard boolean_t Modified: head/sys/kern/subr_bus.c head/sys/sys/devctl.h Modified: head/sys/kern/subr_bus.c ============================================================================== --- head/sys/kern/subr_bus.c Wed Sep 16 02:25:18 2020 (r365789) +++ head/sys/kern/subr_bus.c Wed Sep 16 06:02:30 2020 (r365790) @@ -584,7 +584,7 @@ filt_devctl_read(struct knote *kn, long hint) /** * @brief Return whether the userland process is running */ -boolean_t +bool devctl_process_running(void) { return (devsoftc.inuse == 1); Modified: head/sys/sys/devctl.h ============================================================================== --- head/sys/sys/devctl.h Wed Sep 16 02:25:18 2020 (r365789) +++ head/sys/sys/devctl.h Wed Sep 16 06:02:30 2020 (r365790) @@ -35,7 +35,7 @@ * devctl hooks. Typically one should use the devctl_notify * hook to send the message. */ -boolean_t devctl_process_running(void); +bool devctl_process_running(void); void devctl_notify(const char *__system, const char *__subsystem, const char *__type, const char *__data); struct sbuf;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009160602.08G62UFa054224>