From 37a292dea0e767e8e680d07f2ed773dc7ae685bf Mon Sep 17 00:00:00 2001 From: pk Date: Sun, 31 Mar 1996 22:15:32 +0000 Subject: [PATCH] Make prototyping of most functions conditional on `PMAP_EXCLUDE_DECLS'. This allows MD pmap.h to implement access to those functions via pointers. --- sys/vm/pmap.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h index 4374ee639442..5aba64b55d5b 100644 --- a/sys/vm/pmap.h +++ b/sys/vm/pmap.h @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.15 1996/02/12 21:51:52 christos Exp $ */ +/* $NetBSD: pmap.h,v 1.16 1996/03/31 22:15:32 pk Exp $ */ /* * Copyright (c) 1991, 1993 @@ -86,6 +86,7 @@ typedef struct pmap_statistics *pmap_statistics_t; #include +#ifndef PMAP_EXCLUDE_DECLS /* Used in Sparc port to virtualize pmap mod */ #ifdef _KERNEL __BEGIN_DECLS void *pmap_bootstrap_alloc __P((int)); @@ -138,6 +139,7 @@ vm_offset_t pmap_steal_memory __P((vm_size_t)); void pmap_virtual_space __P((vm_offset_t *, vm_offset_t *)); #endif __END_DECLS -#endif +#endif /* kernel*/ +#endif /* PMAP_EXCLUDE_DECLS */ #endif /* _PMAP_VM_ */