summaryrefslogtreecommitdiff
path: root/i386/intel/pmap.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:20 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-15 19:19:23 +0100
commitbe78a5c7937a31128a3624dcace9df23492866f9 (patch)
tree18fe5f79b66f47aef9658d788fea84ef425d8127 /i386/intel/pmap.c
parent6ff7e82fab67f23f0aa4caa18b886ce03c060f4d (diff)
Declare void argument lists
Diffstat (limited to 'i386/intel/pmap.c')
-rw-r--r--i386/intel/pmap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index ff6a327..06c4daa 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -573,7 +573,7 @@ vm_offset_t pmap_map_bd(virt, start, end, prot)
* and direct-map all physical memory.
* Called with mapping off.
*/
-void pmap_bootstrap()
+void pmap_bootstrap(void)
{
/*
* Mapping is turned off; we must reference only physical addresses.
@@ -897,7 +897,7 @@ void pmap_virtual_space(startp, endp)
* Called by vm_init, to initialize any structures that the pmap
* system needs to map virtual memory.
*/
-void pmap_init()
+void pmap_init(void)
{
long npages;
vm_offset_t addr;
@@ -996,7 +996,7 @@ boolean_t pmap_verify_free(phys)
* since these must be unlocked to use vm_page_grab.
*/
vm_offset_t
-pmap_page_table_page_alloc()
+pmap_page_table_page_alloc(void)
{
vm_page_t m;
vm_offset_t pa;
@@ -2790,7 +2790,7 @@ void pmap_update_interrupt(void)
/*
* Dummy routine to satisfy external reference.
*/
-void pmap_update_interrupt()
+void pmap_update_interrupt(void)
{
/* should never be called. */
}
@@ -2799,7 +2799,7 @@ void pmap_update_interrupt()
#if defined(__i386__)
/* Unmap page 0 to trap NULL references. */
void
-pmap_unmap_page_zero ()
+pmap_unmap_page_zero (void)
{
int *pte;