summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-05-26 01:56:28 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-05-26 01:56:28 +0000
commitdf31f264f6de992fe591486e92ee6837dd41cbed (patch)
tree9492ab8924bbd28386f4b7152ac18e312b90a08d /malloc.c
parentfa9667c9ce64fb4ff6898e82914e5ebb1b144a2e (diff)
downloadperl-df31f264f6de992fe591486e92ee6837dd41cbed.tar.gz
fix missing exported symbol
p4raw-id: //depot/perl@3484
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/malloc.c b/malloc.c
index d543b9b106..d62267f371 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1630,8 +1630,6 @@ malloced_size(void *p)
return BUCKET_SIZE_REAL(bucket);
}
-#ifdef DEBUGGING_MSTATS
-
# ifdef BUCKETS_ROOT2
# define MIN_EVEN_REPORT 6
# else
@@ -1647,6 +1645,7 @@ malloced_size(void *p)
void
dump_mstats(char *s)
{
+#ifdef DEBUGGING_MSTATS
register int i, j;
register union overhead *p;
int topbucket=0, topbucket_ev=0, topbucket_odd=0, totfree=0, total=0;
@@ -1715,16 +1714,10 @@ dump_mstats(char *s)
PerlIO_printf(PerlIO_stderr(), "\nTotal sbrk(): %d/%d:%d. Odd ends: pad+heads+chain+tail: %d+%d+%d+%d.\n",
goodsbrk + sbrk_slack, sbrks, sbrk_good, sbrk_slack,
start_slack, total_chain, sbrked_remains);
+#endif /* DEBUGGING_MSTATS */
}
-#else
-void
-dump_mstats(char *s)
-{
-}
-#endif
#endif /* lint */
-
#ifdef USE_PERL_SBRK
# if defined(__MACHTEN_PPC__) || defined(NeXT) || defined(__NeXT__)