Add NO_RETURN to abort and assert functions.
This commit is contained in:
parent
53161c2c95
commit
06e247a401
@ -10,7 +10,7 @@
|
||||
|
||||
int atexit(void (*function)(void));
|
||||
void exit(int status);
|
||||
void abort(void);
|
||||
_Noreturn void abort(void);
|
||||
|
||||
void *calloc(size_t num, size_t sz);
|
||||
void *malloc(size_t sz);
|
||||
|
@ -20,7 +20,7 @@
|
||||
NO_RETURN void Panic(const char *str);
|
||||
|
||||
int kprintf(const char *fmt, ...);
|
||||
void Debug_Assert(const char *fmt, ...);
|
||||
NO_RETURN void Debug_Assert(const char *fmt, ...);
|
||||
|
||||
#define static_assert _Static_assert
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user