diff src/malloc.c @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 3ecd8885ac67
children b39c14581166
line wrap: on
line diff
--- a/src/malloc.c	Mon Aug 13 11:33:40 2007 +0200
+++ b/src/malloc.c	Mon Aug 13 11:35:02 2007 +0200
@@ -201,10 +201,8 @@
 extern char *start_of_data (void);
 
 #ifdef BSD
-#ifndef DATA_SEG_BITS
 #define start_of_data() &etext
 #endif
-#endif
 
 #ifndef emacs
 #define start_of_data() &etext
@@ -740,7 +738,7 @@
   return v;
 }
 int
-malloc_mem_used ()
+malloc_mem_used (void)
 {
   int i;
   int size_used;
@@ -759,7 +757,7 @@
 }
 
 int 
-malloc_mem_free ()
+malloc_mem_free (void)
 {
   int i;
   int size_unused;
@@ -789,7 +787,7 @@
 #ifdef USG
 
 static void
-get_lim_data ()
+get_lim_data (void)
 {
 #ifdef ULIMIT_BREAK_VALUE
   lim_data = ULIMIT_BREAK_VALUE;
@@ -804,7 +802,7 @@
 #ifndef BSD4_2
 
 static void
-get_lim_data ()
+get_lim_data (void)
 {
   lim_data = vlimit (LIM_DATA, -1);
 }
@@ -812,7 +810,7 @@
 #else /* BSD4_2 */
 
 static void
-get_lim_data ()
+get_lim_data (void)
 {
   struct rlimit XXrlimit;