Make this compile with -DDEBUG.
This commit is contained in:
parent
9ff73e166a
commit
6025f99517
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: malloc.c,v 1.6 1999/06/17 21:11:42 thorpej Exp $ */
|
||||
/* $NetBSD: malloc.c,v 1.7 2000/11/28 06:01:34 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983 Regents of the University of California.
|
||||
|
@ -38,7 +38,7 @@
|
|||
#if 0
|
||||
static char *sccsid = "from: @(#)malloc.c 5.11 (Berkeley) 2/23/91";
|
||||
#else
|
||||
__RCSID("$NetBSD: malloc.c,v 1.6 1999/06/17 21:11:42 thorpej Exp $");
|
||||
__RCSID("$NetBSD: malloc.c,v 1.7 2000/11/28 06:01:34 mycroft Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -138,7 +138,8 @@ static u_int nmalloc[NBUCKETS];
|
|||
#if defined(DEBUG) || defined(RCHECK)
|
||||
#define ASSERT(p) if (!(p)) botch("p")
|
||||
#include <stdio.h>
|
||||
static
|
||||
static void botch __P((char *));
|
||||
static void
|
||||
botch(s)
|
||||
char *s;
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue