summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-09-08 05:36:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-09-08 05:36:54 +0000
commitd57c7d7b30add2ecd463f68aef3651ef7bca7eb7 (patch)
tree57cbf3ade2a9c95a25842cb657179cb4f8c78a82 /sys/dev/microcode
parent52b7fef1a1e427e7790b90eb2733372c2c8575ba (diff)
If you use sys/param.h, you don't need sys/types.h
Diffstat (limited to 'sys/dev/microcode')
-rw-r--r--sys/dev/microcode/adw/adwmcode.c3
-rw-r--r--sys/dev/microcode/tusb3410/build.c5
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/microcode/adw/adwmcode.c b/sys/dev/microcode/adw/adwmcode.c
index 9ec8fe000a2..cc564f1da64 100644
--- a/sys/dev/microcode/adw/adwmcode.c
+++ b/sys/dev/microcode/adw/adwmcode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adwmcode.c,v 1.7 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: adwmcode.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */
/* $NetBSD: adwmcode.c,v 1.5 2000/05/27 18:24:50 dante Exp $ */
/*
@@ -48,7 +48,6 @@
*/
-#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/dev/microcode/tusb3410/build.c b/sys/dev/microcode/tusb3410/build.c
index 41d9d4c582f..d0b0416a97d 100644
--- a/sys/dev/microcode/tusb3410/build.c
+++ b/sys/dev/microcode/tusb3410/build.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: build.c,v 1.5 2016/12/18 18:28:39 krw Exp $ */
+/* $OpenBSD: build.c,v 1.6 2017/09/08 05:36:52 deraadt Exp $ */
/*
* Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org>
@@ -15,10 +15,9 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/uio.h>
#include <fcntl.h>
-#include <sys/param.h>
#include <err.h>
#include <stdio.h>
#include <unistd.h>