summaryrefslogtreecommitdiffstats
path: root/include/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/assert.h')
-rw-r--r--include/assert.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/assert.h b/include/assert.h
index 19800fd..f267a4a 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
OpenPOWER on IntegriCloud