Rev 4874 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4874 | Rev 4921 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* |
1 | /* |
2 | assert.h |
2 | assert.h |
3 | */ |
3 | */ |
4 | #ifndef _NEWLIB_ASSERT_H |
- | |
5 | #define _NEWLIB_ASSERT_H |
- | |
Line 6... | Line 4... | ||
6 | 4 | ||
7 | #ifdef __cplusplus |
5 | #ifdef __cplusplus |
8 | extern "C" { |
6 | extern "C" { |
Line 41... | Line 39... | ||
41 | void _EXFUN(__assert, (const char *, int, const char *) |
39 | void _EXFUN(__assert, (const char *, int, const char *) |
42 | _ATTRIBUTE ((__noreturn__))); |
40 | _ATTRIBUTE ((__noreturn__))); |
43 | void _EXFUN(__assert_func, (const char *, int, const char *, const char *) |
41 | void _EXFUN(__assert_func, (const char *, int, const char *, const char *) |
44 | _ATTRIBUTE ((__noreturn__))); |
42 | _ATTRIBUTE ((__noreturn__))); |
Line -... | Line 43... | ||
- | 43 | ||
- | 44 | #if __STDC_VERSION__ >= 201112L && !defined __cplusplus |
|
- | 45 | # define static_assert _Static_assert |
|
- | 46 | #endif |
|
45 | 47 | ||
46 | #ifdef __cplusplus |
48 | #ifdef __cplusplus |
47 | } |
49 | } |
48 | #endif |
- | |
49 | - |