From 4cb17e9667a272f7541dbee84ac942404facb823 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 14 Dec 2007 18:32:26 +0000 Subject: Remove a lot of symbols from the namespace, otherwise sys/sysctl.h and rpc/pmap_prot.h collide.. "struct pmap" from the kernel should not make it out to userland. --- sys/arch/hppa/include/pmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/hppa/include') diff --git a/sys/arch/hppa/include/pmap.h b/sys/arch/hppa/include/pmap.h index a8acf4c59ad..8b5693e3093 100644 --- a/sys/arch/hppa/include/pmap.h +++ b/sys/arch/hppa/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.34 2007/09/10 18:49:44 miod Exp $ */ +/* $OpenBSD: pmap.h,v 1.35 2007/12/14 18:32:23 deraadt Exp $ */ /* * Copyright (c) 2002-2004 Michael Shalayeff @@ -33,6 +33,8 @@ #include #include +#ifdef _KERNEL + struct pmap { struct uvm_object pm_obj; /* object (lck by object lock) */ #define pm_lock pm_obj.vmobjlock @@ -70,8 +72,6 @@ struct vp_entry { u_int vp_ptr; }; -#ifdef _KERNEL - extern void gateway_page(void); extern struct pmap kernel_pmap_store; -- cgit v1.2.3