Make prototyping of most functions conditional on `PMAP_EXCLUDE_DECLS'.

This allows MD pmap.h to implement access to those functions via pointers.
This commit is contained in:
pk 1996-03-31 22:15:32 +00:00
parent 8d9fbd0949
commit 37a292dea0

View File

@ -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 <machine/pmap.h>
#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_ */