diff options
author | 2014-12-19 15:07:33 +0000 | |
---|---|---|
committer | 2014-12-19 15:07:33 +0000 | |
commit | d191c24476242608c05d5671a4ce8c5564f7b722 (patch) | |
tree | e36d0fa21bfc484f66bab0480f7e0133765cdcc0 | |
parent | sync (diff) | |
download | wireguard-openbsd-d191c24476242608c05d5671a4ce8c5564f7b722.tar.xz wireguard-openbsd-d191c24476242608c05d5671a4ce8c5564f7b722.zip |
No need to include sys/types.h when sys/param.h is already included.
While here, sort includes a bit. No functional change.
-rw-r--r-- | sys/dev/vmt.c | 8 |
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 |