summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2014-12-19 15:07:34 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2014-12-19 15:07:34 +0000
commiteff939d8ac428a11eac6dc16e63d0e8f961c1611 (patch)
tree7fc4d06c4d087737bc6e7f31b488b6d5fa2509b4 /sys
parent3919745b4a47ba8b4b1a7b8a682f0e2e664a48c6 (diff)
No need to include sys/types.h when sys/param.h is already included.
While here, sort includes a bit. No functional change.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vmt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/vmt.c b/sys/dev/vmt.c
index 7686fe64cb3..a48abe78fe0 100644
--- a/sys/dev/vmt.c
+++ b/sys/dev/vmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmt.c,v 1.24 2014/12/18 19:31:37 reyk Exp $ */
+/* $OpenBSD: vmt.c,v 1.25 2014/12/19 15:07:33 reyk Exp $ */
/*
* Copyright (c) 2007 David Crawshaw <david@zentus.com>
@@ -21,8 +21,6 @@
#error vmt(4) is only supported on i386 and amd64
#endif
-#include <dev/vmtvar.h>
-
/*
* Protocol reverse engineered by Ken Kato:
* http://chitchat.at.infoseek.co.jp/vmware/backdoor.html
@@ -31,17 +29,19 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/types.h>
#include <sys/malloc.h>
#include <sys/timeout.h>
#include <sys/signalvar.h>
#include <sys/syslog.h>
#include <sys/proc.h>
#include <sys/socket.h>
+
#include <net/if.h>
#include <net/if_var.h>
#include <netinet/in.h>
+
#include <dev/rndvar.h>
+#include <dev/vmtvar.h>
/* "The" magic number, always occupies the EAX register. */
#define VM_MAGIC 0x564D5868