summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libsm/heap.c
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2005-02-14 02:30:00 +0000
committergshapiro <gshapiro@FreeBSD.org>2005-02-14 02:30:00 +0000
commit9883351c45502bc6aec878ba11d8ef5fe1843397 (patch)
treed9cfa9f19110fa167a0fec9f07c6fcfacd77aafb /contrib/sendmail/libsm/heap.c
parent1fc446a819a244515d9461fa50d34ee191414d6f (diff)
downloadFreeBSD-src-9883351c45502bc6aec878ba11d8ef5fe1843397.zip
FreeBSD-src-9883351c45502bc6aec878ba11d8ef5fe1843397.tar.gz
Import sendmail 8.13.3
Diffstat (limited to 'contrib/sendmail/libsm/heap.c')
-rw-r--r--contrib/sendmail/libsm/heap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/sendmail/libsm/heap.c b/contrib/sendmail/libsm/heap.c
index 50bb631..8ee4396 100644
--- a/contrib/sendmail/libsm/heap.c
+++ b/contrib/sendmail/libsm/heap.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: heap.c,v 1.50 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: heap.c,v 1.51 2004/08/03 20:32:00 ca Exp $")
/*
** debugging memory allocation package
@@ -43,6 +43,7 @@ SM_RCSID("@(#)$Id: heap.c,v 1.50 2001/09/11 04:04:48 gshapiro Exp $")
SM_DEBUG_T SmHeapCheck = SM_DEBUG_INITIALIZER("sm_check_heap",
"@(#)$Debug: sm_check_heap - check sm_malloc, sm_realloc, sm_free calls $");
# define HEAP_CHECK sm_debug_active(&SmHeapCheck, 1)
+static int ptrhash __P((void *p));
#endif /* SM_HEAP_CHECK */
const SM_EXC_TYPE_T SmHeapOutOfMemoryType =
OpenPOWER on IntegriCloud