diff options
author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
---|---|---|
committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /lib/libmalloc/assert.h | |
parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) |
Diffstat (limited to 'lib/libmalloc/assert.h')
-rw-r--r-- | lib/libmalloc/assert.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libmalloc/assert.h b/lib/libmalloc/assert.h new file mode 100644 index 0000000000000..08f11ff87994d --- /dev/null +++ b/lib/libmalloc/assert.h @@ -0,0 +1,10 @@ +/* $Id: assert.h,v 1.1 1994/05/19 14:34:09 nate Exp $ */ +#ifndef __ASSERT_H__ +#define __ASSERT_H__ +#ifdef DEBUG +#define ASSERT(p, s) ((void) (!(p) ? __m_botch(s, __FILE__, __LINE__) : 0)) +extern int __m_botch proto((const char *, const char *, int)); +#else +#define ASSERT(p, s) +#endif +#endif /* __ASSERT_H__ */ /* Do not add anything after this line */ |