diff options
| author | Warner Losh <imp@FreeBSD.org> | 2002-03-23 17:24:55 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2002-03-23 17:24:55 +0000 |
| commit | bb28f3c29b4c91af1b0e79e456294bb08735648a (patch) | |
| tree | b4ea687a7ecac173665d9f3a8a858a98631f494e /include/assert.h | |
| parent | 194788fafcb927f0affa1a56e21a1e8373f81f9c (diff) | |
Notes
Diffstat (limited to 'include/assert.h')
| -rw-r--r-- | include/assert.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/assert.h b/include/assert.h index 19800fd34e35..f267a4a2a2ab 100644 --- a/include/assert.h +++ b/include/assert.h @@ -55,15 +55,10 @@ #else #define _assert(e) assert(e) -#ifdef __STDC__ #define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ __LINE__, #e)) -#else /* !__STDC__ */ -#define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ - __LINE__, "e")) -#endif /* __STDC__ */ #endif /* NDEBUG */ __BEGIN_DECLS -void __assert __P((const char *, const char *, int, const char *)); +void __assert(const char *, const char *, int, const char *); __END_DECLS |
