diff options
author | smart <smart@cvs.openbsd.org> | 2001-03-09 05:34:39 +0000 |
---|---|---|
committer | smart <smart@cvs.openbsd.org> | 2001-03-09 05:34:39 +0000 |
commit | 70dc353ae31df19a481d5ec5cd2f83804fa0f7ea (patch) | |
tree | 9fec01a53da69b20fc8b27bbe2ee8be61c958fa9 /sys/uvm/uvm_anon.h | |
parent | d6685a5c97ce71b163917bbafb3d6834a374aae4 (diff) |
Protect protypes, certain macros, and inlines from userland. Checked userland
with a 'make build'. From NetBSD. art@ ok
Diffstat (limited to 'sys/uvm/uvm_anon.h')
-rw-r--r-- | sys/uvm/uvm_anon.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/uvm/uvm_anon.h b/sys/uvm/uvm_anon.h index 4fdfa246175..e4ef0b57561 100644 --- a/sys/uvm/uvm_anon.h +++ b/sys/uvm/uvm_anon.h @@ -1,5 +1,5 @@ -/* $OpenBSD: uvm_anon.h,v 1.5 2001/01/29 02:07:42 niklas Exp $ */ -/* $NetBSD: uvm_anon.h,v 1.10 1999/03/26 17:34:15 chs Exp $ */ +/* $OpenBSD: uvm_anon.h,v 1.6 2001/03/09 05:34:38 smart Exp $ */ +/* $NetBSD: uvm_anon.h,v 1.11 1999/06/21 17:25:11 thorpej Exp $ */ /* * @@ -93,6 +93,8 @@ struct vm_aref { * locked by vm_map lock. */ +#ifdef _KERNEL + /* * prototypes */ @@ -104,4 +106,6 @@ void uvm_anon_add __P((int)); struct vm_page *uvm_anon_lockloanpg __P((struct vm_anon *)); void uvm_anon_dropswap __P((struct vm_anon *)); +#endif /* _KERNEL */ + #endif /* _UVM_UVM_ANON_H_ */ |