summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-05-25 07:31:39 -0500
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-05-26 08:43:38 +0000
commit075abff3feb0c6965ba49108266b27bec1bd4ae6 (patch)
tree97b895b97d6f1542d5aae6f017afbddfc0b5a728 /malloc.c
parent456b8aff3db21e52f55abc0d0ef5a79a68dfd59c (diff)
downloadperl-075abff3feb0c6965ba49108266b27bec1bd4ae6.tar.gz
Updated lint infrastructure
Message-ID: <20050525173139.GB1701@petdance.com> p4raw-id: //depot/perl@24580
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c26
1 files changed, 12 insertions, 14 deletions
diff --git a/malloc.c b/malloc.c
index affe76371e..3ed1689dbd 100644
--- a/malloc.c
+++ b/malloc.c
@@ -271,19 +271,18 @@
# define LOG_OF_MIN_ARENA 14
#endif
-#ifndef lint
-# if defined(DEBUGGING) && !defined(NO_RCHECK)
-# define RCHECK
-# endif
-# if defined(DEBUGGING) && !defined(NO_RCHECK) && !defined(NO_MFILL) && !defined(MALLOC_FILL)
-# define MALLOC_FILL
-# endif
-# if defined(DEBUGGING) && !defined(NO_RCHECK) && !defined(NO_FILL_CHECK) && !defined(MALLOC_FILL_CHECK)
-# define MALLOC_FILL_CHECK
-# endif
-# if defined(RCHECK) && defined(IGNORE_SMALL_BAD_FREE)
-# undef IGNORE_SMALL_BAD_FREE
-# endif
+#if defined(DEBUGGING) && !defined(NO_RCHECK)
+# define RCHECK
+#endif
+#if defined(DEBUGGING) && !defined(NO_RCHECK) && !defined(NO_MFILL) && !defined(MALLOC_FILL)
+# define MALLOC_FILL
+#endif
+#if defined(DEBUGGING) && !defined(NO_RCHECK) && !defined(NO_FILL_CHECK) && !defined(MALLOC_FILL_CHECK)
+# define MALLOC_FILL_CHECK
+#endif
+#if defined(RCHECK) && defined(IGNORE_SMALL_BAD_FREE)
+# undef IGNORE_SMALL_BAD_FREE
+#endif
/*
* malloc.c (Caltech) 2/21/82
* Chris Kingsley, kingsley@cit-20.
@@ -2498,7 +2497,6 @@ Perl_dump_mstats(pTHX_ char *s)
buffer.total_chain, buffer.sbrked_remains);
#endif /* DEBUGGING_MSTATS */
}
-#endif /* lint */
#ifdef USE_PERL_SBRK