diff src/ralloc.c @ 74:54cc21c15cbb r20-0b32

Import from CVS: tag r20-0b32
author cvs
date Mon, 13 Aug 2007 09:04:33 +0200
parents 131b0175ea99
children ac0620f6398e
line wrap: on
line diff
--- a/src/ralloc.c	Mon Aug 13 09:03:47 2007 +0200
+++ b/src/ralloc.c	Mon Aug 13 09:04:33 2007 +0200
@@ -914,9 +914,14 @@
    about the memory map.  Instead, we try to coalesce empty or
    unavailable blocks at any available opportunity.  */
 
-static void Addr_Block_initialize(); /* Initialization procedure for address picking scheme */
-static VM_ADDR New_Addr_Block( SIZE sz ); /* Get a suitable VM_ADDR via mmap */
-static void Free_Addr_Block( VM_ADDR addr, SIZE sz ); /* Free a VM_ADDR allocated via New_Addr_Block */
+/* Initialization procedure for address picking scheme */
+static void Addr_Block_initialize(void);
+
+/* Get a suitable VM_ADDR via mmap */
+static VM_ADDR New_Addr_Block( SIZE sz );
+
+/* Free a VM_ADDR allocated via New_Addr_Block */
+static void Free_Addr_Block( VM_ADDR addr, SIZE sz );
 
 #ifdef MMAP_GENERATE_ADDRESSES
 /* Implementation of the three calls for address picking when XEmacs is incharge */
@@ -1035,8 +1040,10 @@
 /* This is an alternate (simpler) implementation in cases where the
    address is picked by the kernel. */
 
-static void Addr_Block_initialize()
-{} /* Nothing. */
+static void Addr_Block_initialize(void)
+{
+  /* Nothing. */
+}
 
 static VM_ADDR New_Addr_Block( SIZE sz )
 {