Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pad pad(4): Sort includes. Add missing includes to ...
details: https://anonhg.NetBSD.org/src/rev/0cdc73b622e5
branches: trunk
changeset: 983925:0cdc73b622e5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Jun 14 10:14:46 2021 +0000
description:
pad(4): Sort includes. Add missing includes to padvar.h.
diffstat:
sys/dev/pad/pad.c | 21 +++++++++++----------
sys/dev/pad/padvar.h | 9 ++++++++-
2 files changed, 19 insertions(+), 11 deletions(-)
diffs (69 lines):
diff -r 647c70a8ac5b -r 0cdc73b622e5 sys/dev/pad/pad.c
--- a/sys/dev/pad/pad.c Mon Jun 14 10:14:01 2021 +0000
+++ b/sys/dev/pad/pad.c Mon Jun 14 10:14:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pad.c,v 1.69 2021/06/14 10:14:01 riastradh Exp $ */
+/* $NetBSD: pad.c,v 1.70 2021/06/14 10:14:46 riastradh Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,26 +27,27 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.69 2021/06/14 10:14:01 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.70 2021/06/14 10:14:46 riastradh Exp $");
+#include <sys/param.h>
#include <sys/types.h>
-#include <sys/param.h>
+
+#include <sys/audioio.h>
+#include <sys/buf.h>
+#include <sys/condvar.h>
#include <sys/conf.h>
-#include <sys/buf.h>
+#include <sys/device.h>
#include <sys/file.h>
#include <sys/filedesc.h>
-#include <sys/vnode.h>
#include <sys/kauth.h>
+#include <sys/kernel.h>
#include <sys/kmem.h>
-#include <sys/kernel.h>
-#include <sys/device.h>
+#include <sys/module.h>
#include <sys/poll.h>
#include <sys/proc.h>
-#include <sys/condvar.h>
#include <sys/select.h>
#include <sys/stat.h>
-#include <sys/audioio.h>
-#include <sys/module.h>
+#include <sys/vnode.h>
#include <dev/audio/audio_if.h>
#include <dev/audio/audiovar.h>
diff -r 647c70a8ac5b -r 0cdc73b622e5 sys/dev/pad/padvar.h
--- a/sys/dev/pad/padvar.h Mon Jun 14 10:14:01 2021 +0000
+++ b/sys/dev/pad/padvar.h Mon Jun 14 10:14:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: padvar.h,v 1.14 2021/06/14 10:14:01 riastradh Exp $ */
+/* $NetBSD: padvar.h,v 1.15 2021/06/14 10:14:46 riastradh Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,6 +29,13 @@
#ifndef _SYS_DEV_PAD_PADVAR_H
#define _SYS_DEV_PAD_PADVAR_H
+#include <sys/types.h>
+
+#include <sys/callout.h>
+#include <sys/condvar.h>
+#include <sys/device_if.h>
+#include <sys/mutex.h>
+
struct pad_softc {
device_t sc_dev;
Home |
Main Index |
Thread Index |
Old Index