diff options
author | Bruce Evans <bde@FreeBSD.org> | 1994-11-14 08:19:08 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1994-11-14 08:19:08 +0000 |
commit | 4f21005bddbeb10097bf4b0cd9c3105ed04e88ea (patch) | |
tree | 8d40feee6aca3564778106ece9a98b4b47ac895b /sys/vm/pmap.h | |
parent | ba9c09688cb64585c8266f0324761ac0a5c0e1f5 (diff) | |
download | src-4f21005bddbeb10097bf4b0cd9c3105ed04e88ea.tar.gz src-4f21005bddbeb10097bf4b0cd9c3105ed04e88ea.zip |
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.
Notes
Notes:
svn path=/head/; revision=4461
Diffstat (limited to 'sys/vm/pmap.h')
-rw-r--r-- | sys/vm/pmap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h index 7e65489cbd26..3cf91ecd1d4b 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)); |