svn commit: r365790 - in head/sys: kern sys
Warner Losh
imp at FreeBSD.org
Wed Sep 16 06:02:31 UTC 2020
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;
More information about the svn-src-all
mailing list