summaryrefslogtreecommitdiffstats
path: root/sys/vm/pmap.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-11-14 08:19:08 +0000
committerbde <bde@FreeBSD.org>1994-11-14 08:19:08 +0000
commit8e23a5a1630513836f99baaadab8fc3869381a8e (patch)
tree8d40feee6aca3564778106ece9a98b4b47ac895b /sys/vm/pmap.h
parent4333a0959b3e020975a5dd93a14f536aa8ecc650 (diff)
downloadFreeBSD-src-8e23a5a1630513836f99baaadab8fc3869381a8e.zip
FreeBSD-src-8e23a5a1630513836f99baaadab8fc3869381a8e.tar.gz
pmap.h:
Disable the bogus declaration of pmap_bootstrap(). Since its arg list is machine-dependent, it must be declared in a machine-dependent header. vm_page.h: Change `inline' to `__inline' and old-style function parameter lists for inlined functions to new-style. `inline' and old-style function parameter lists should never be used in system headers, even in very machine-dependent ones, because they cause warnings from gcc -Wreally-all.
Diffstat (limited to 'sys/vm/pmap.h')
-rw-r--r--sys/vm/pmap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index 7e65489..3cf91ec 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: pmap.h,v 1.3 1994/08/06 10:25:49 davidg Exp $
+ * $Id: pmap.h,v 1.4 1994/09/02 04:12:26 davidg Exp $
*/
/*
@@ -89,7 +89,9 @@ typedef struct pmap_statistics *pmap_statistics_t;
#ifdef KERNEL
__BEGIN_DECLS
void * pmap_bootstrap_alloc __P((int));
+#if 0 /* XXX */
void pmap_bootstrap __P((/* machine dependent */));
+#endif
void pmap_change_wiring __P((pmap_t, vm_offset_t, boolean_t));
void pmap_clear_modify __P((vm_offset_t pa));
void pmap_clear_reference __P((vm_offset_t pa));
OpenPOWER on IntegriCloud