diff options
author | 2014-07-08 13:15:07 +0000 | |
---|---|---|
committer | 2014-07-08 13:15:07 +0000 | |
commit | bb0a6deb052ba50df5ddc9f135d66edd5a04ccad (patch) | |
tree | 7e9d5a72b242b73449bb5ba9fe9e3758ddbbf989 | |
parent | subtle rearrangement of includes (diff) | |
download | wireguard-openbsd-bb0a6deb052ba50df5ddc9f135d66edd5a04ccad.tar.xz wireguard-openbsd-bb0a6deb052ba50df5ddc9f135d66edd5a04ccad.zip |
the #ifdef _KERNEL can wrap the entire file. uvm_extern.h only pulls
this inside #ifdef _KERNEL in any case, so nothing really changes.
-rw-r--r-- | sys/uvm/uvm_pager.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/uvm/uvm_pager.h b/sys/uvm/uvm_pager.h index 4e0151fa2b3..80672e293a1 100644 --- a/sys/uvm/uvm_pager.h +++ b/sys/uvm/uvm_pager.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pager.h,v 1.27 2009/07/22 21:05:37 oga Exp $ */ +/* $OpenBSD: uvm_pager.h,v 1.28 2014/07/08 13:15:07 deraadt Exp $ */ /* $NetBSD: uvm_pager.h,v 1.20 2000/11/27 08:40:05 chs Exp $ */ /* @@ -74,13 +74,7 @@ #ifndef _UVM_UVM_PAGER_H_ #define _UVM_UVM_PAGER_H_ -/* - * uvm_pager.h - */ - -/* - * pager ops - */ +#ifdef _KERNEL struct uvm_pagerops { /* init pager */ @@ -128,8 +122,6 @@ struct uvm_pagerops { /* page we are not interested in getting */ #define PGO_DONTCARE ((struct vm_page *) -1L) /* [get only] */ -#ifdef _KERNEL - /* * prototypes */ |