aboutsummaryrefslogtreecommitdiff
path: root/hurd/hurdmalloc.c
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-11-15 19:50:04 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-11-15 19:50:04 +0000
commitebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f (patch)
treef15f3170c01642634de7bb7e27d3cf01cd8a72ca /hurd/hurdmalloc.c
parent63afd6ae4063981afa88e90f8b2b3653433fdcb8 (diff)
downloadglibc-ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f.zip
glibc-ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f.tar.gz
glibc-ebe3b3ebb7cf39cf3c64a2c69e5a71e2b53fe73f.tar.bz2
Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* sysdeps/posix/readv.c (readv): Change return type to ssize_t. Deansideclized. * sysdeps/posix/writev.c (writev): Likewise.
Diffstat (limited to 'hurd/hurdmalloc.c')
-rw-r--r--hurd/hurdmalloc.c21
1 files changed, 15 insertions, 6 deletions
diff --git a/hurd/hurdmalloc.c b/hurd/hurdmalloc.c
index 5f719df..d95b0c3 100644
--- a/hurd/hurdmalloc.c
+++ b/hurd/hurdmalloc.c
@@ -37,6 +37,14 @@
/*
* HISTORY
* $Log$
+ * Revision 1.12 1996/11/15 19:44:13 thomas
+ * Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+ *
+ * * mach/msg-destroy.c (mach_msg_destroy_port,
+ * mach_msg_destroy_memory): Use prototype syntax.
+ * * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
+ * malloc_fork_parent, malloc_fork_child): Likewise.
+ *
* Revision 1.11 1996/06/06 15:13:47 miles
* Changes to bring in line with the hurd libthreads/malloc.c:
* (more_memory): Use assert_perror instead of MACH_CALL.
@@ -206,9 +214,7 @@ malloc_init (void)
}
static void
-more_memory(size, fl)
- int size;
- register free_list_t fl;
+more_memory(int size, free_list_t fl)
{
register int amount;
register int n;
@@ -448,7 +454,8 @@ print_malloc_free_list()
}
#endif DEBUG
-static void malloc_fork_prepare()
+static void
+malloc_fork_prepare(void)
/*
* Prepare the malloc module for a fork by insuring that no thread is in a
* malloc critical section.
@@ -461,7 +468,8 @@ static void malloc_fork_prepare()
}
}
-static void malloc_fork_parent()
+static void
+malloc_fork_parent(void)
/*
* Called in the parent process after a fork() to resume normal operation.
*/
@@ -473,7 +481,8 @@ static void malloc_fork_parent()
}
}
-static void malloc_fork_child()
+static void
+malloc_fork_child(void)
/*
* Called in the child process after a fork() to resume normal operation.
*/