diff options
author | 2016-09-15 01:01:07 +0000 | |
---|---|---|
committer | 2016-09-15 01:01:07 +0000 | |
commit | 475ce4ffa1896c58aec2e11024d85f164c33ea2f (patch) | |
tree | e4f8a92b79ac4d93f75dd1975945efc85ea32745 /usr.bin/netstat/unix.c | |
parent | use static in the right places to seperate modules better (diff) | |
download | wireguard-openbsd-475ce4ffa1896c58aec2e11024d85f164c33ea2f.tar.xz wireguard-openbsd-475ce4ffa1896c58aec2e11024d85f164c33ea2f.zip |
dont #define _KERNEL around some #includes
the data structures are now readable without _KERNEL needing to be defined.
ok deraadt@
there's probably a lot more of these that can be cleaned up if
anyone is interested in looking into it.
Diffstat (limited to 'usr.bin/netstat/unix.c')
-rw-r--r-- | usr.bin/netstat/unix.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c index 4888469441d..f81a6374c07 100644 --- a/usr.bin/netstat/unix.c +++ b/usr.bin/netstat/unix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: unix.c,v 1.29 2016/08/27 04:07:42 guenther Exp $ */ +/* $OpenBSD: unix.c,v 1.30 2016/09/15 01:01:08 dlg Exp $ */ /* $NetBSD: unix.c,v 1.13 1995/10/03 21:42:48 thorpej Exp $ */ /*- @@ -41,10 +41,8 @@ #include <sys/time.h> #include <sys/un.h> #include <sys/unpcb.h> -#define _KERNEL #include <sys/ucred.h> #include <sys/file.h> -#undef _KERNEL #include <netinet/in.h> |