diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-09 15:42:07 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-09 15:42:07 +0100 |
commit | a8349b33e564f7faa83341cb1fa58466b0589ae9 (patch) | |
tree | 45985cfc248e5219a25230959b00b7baa2b8b276 /klibc/include/assert.h | |
parent | accff726856a0b3258a413d823a534f4f437e6b2 (diff) |
remove our own copy of klibc
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'klibc/include/assert.h')
-rw-r--r-- | klibc/include/assert.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/klibc/include/assert.h b/klibc/include/assert.h deleted file mode 100644 index 58cc37c487..0000000000 --- a/klibc/include/assert.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * assert.h - */ - -#ifndef _ASSERT_H -#define _ASSERT_H - -#ifdef NDEBUG - -#define assert(x) ((void)(x)) - -#else - -extern void __assert_fail(const char *, const char *, - unsigned int); - -#define assert(x) ((x) ? (void)0 : __assert_fail(#x, __FILE__, __LINE__)) - -#endif - -#endif /* _ASSERT_H */ - |