summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-09-08 20:00:29 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-09-08 20:00:29 +0000
commita8ce2ee981e9a9bbd855e2f250450bc41703f579 (patch)
treea6d322a30636db36cc4030f3d45a54ea1c43e89c /sys/dev
parent561f93c80143342343b2bdfbe552cd66f9e61826 (diff)
Remove the remnants of the leftover selinfo from vnode(9) layer. Just
mechanical 'selinfo' to 'klist' replacement in 'vnode' structure because knote(9) API is already used. <sys/selinfo.h> headers added where is was required. ok bluhm
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/hotplug.c3
-rw-r--r--sys/dev/wscons/wseventvar.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/hotplug.c b/sys/dev/hotplug.c
index 7743db33592..1d33606df52 100644
--- a/sys/dev/hotplug.c
+++ b/sys/dev/hotplug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hotplug.c,v 1.22 2022/07/02 08:50:41 visa Exp $ */
+/* $OpenBSD: hotplug.c,v 1.23 2023/09/08 20:00:27 mvs Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
@@ -25,6 +25,7 @@
#include <sys/fcntl.h>
#include <sys/hotplug.h>
#include <sys/ioctl.h>
+#include <sys/selinfo.h>
#include <sys/vnode.h>
#define HOTPLUG_MAXEVENTS 64
diff --git a/sys/dev/wscons/wseventvar.h b/sys/dev/wscons/wseventvar.h
index fc1cc7da286..29ef66b27c5 100644
--- a/sys/dev/wscons/wseventvar.h
+++ b/sys/dev/wscons/wseventvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wseventvar.h,v 1.11 2022/07/02 08:50:42 visa Exp $ */
+/* $OpenBSD: wseventvar.h,v 1.12 2023/09/08 20:00:28 mvs Exp $ */
/* $NetBSD: wseventvar.h,v 1.1 1998/03/22 14:24:03 drochner Exp $ */
/*
@@ -71,6 +71,7 @@
* @(#)event_var.h 8.1 (Berkeley) 6/11/93
*/
+#include <sys/selinfo.h>
#include <sys/sigio.h>
/*