summaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-07 13:10:33 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-07 13:10:33 +0000
commitae9b308c6a4a6c2dc6886723764616f85402480d (patch)
tree0bcb3254f2870f86e934dcc6e4e9b8ccbbe0be88 /malloc
parent6600049466b586e3decaf24bd70c06b21382cf98 (diff)
Update.
1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makerules (lib): Put back dependency on lib-noranlib. ($(subdirs-stamps)): Remove dependency on stamp.* again. 1998-05-07 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for test in __pow2 implementation. 1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 03bc5569b9..607961a9c6 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -4247,7 +4247,12 @@ mem2chunk_check(mem) Void_t* mem;
necessary. */
static int
+#if __STD_C
+top_check(void)
+#else
+static int
top_check()
+#endif
{
mchunkptr t = top(&main_arena);
char* brk, * new_brk;