aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-08-20 17:14:33 +0000
committerWarner Losh <imp@FreeBSD.org>2020-08-20 17:14:33 +0000
commitc9133e6c04dce66483febe72b42c27fed8354801 (patch)
tree677de69362047e8211d58385c05123a18e1b1702 /sys/sys/bus.h
parent5e79303ba19bc522131502bd52a5095cc0fe1eb8 (diff)
downloadsrc-c9133e6c04dce66483febe72b42c27fed8354801.tar.gz
src-c9133e6c04dce66483febe72b42c27fed8354801.zip
Make devctl_queue_data_f and devctl_queue_data private.
I thought we'd need them, but nobody is using them. Narrow the interface. This will facilitate changes in the future.
Notes
Notes: svn path=/head/; revision=364427
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index a2d22af77277..32f500cb5526 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -156,16 +156,13 @@ struct devreq {
/**
* devctl hooks. Typically one should use the devctl_notify
- * hook to send the message. However, devctl_queue_data is also
- * included in case devctl_notify isn't sufficiently general.
+ * hook to send the message.
*/
boolean_t devctl_process_running(void);
void devctl_notify_f(const char *__system, const char *__subsystem,
const char *__type, const char *__data, int __flags);
void devctl_notify(const char *__system, const char *__subsystem,
const char *__type, const char *__data);
-void devctl_queue_data_f(char *__data, int __flags);
-void devctl_queue_data(char *__data);
struct sbuf;
void devctl_safe_quote_sb(struct sbuf *__sb, const char *__src);