libc.h: mark _assert as noreturn
Indeed the `assert` macro calls the _assert function only when the assertion failed.
This commit is contained in:
parent
6daa49324a
commit
06376d5859
@ -360,7 +360,7 @@ enum
|
|||||||
PNGROUP = 2,
|
PNGROUP = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void _assert(const char*);
|
extern void _assert(const char*) __attribute__ ((noreturn));
|
||||||
extern int abs(int);
|
extern int abs(int);
|
||||||
extern int atexit(void(*)(void));
|
extern int atexit(void(*)(void));
|
||||||
extern void atexitdont(void(*)(void));
|
extern void atexitdont(void(*)(void));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user