libc: Alias __lc_unreachable to __builtin_unreachable
This commit is contained in:
parent
1e86acd4c0
commit
3e2bebf0aa
@ -4,5 +4,6 @@
|
|||||||
#define __lc_noreturn __attribute__((noreturn))
|
#define __lc_noreturn __attribute__((noreturn))
|
||||||
#define __lc_align(n) __attribute__((aligned(n)))
|
#define __lc_align(n) __attribute__((aligned(n)))
|
||||||
#define __lc_deprecated(msg) __attribute__((deprecated(msg)))
|
#define __lc_deprecated(msg) __attribute__((deprecated(msg)))
|
||||||
|
#define __lc_unreachable __builtin_unreachable
|
||||||
|
|
||||||
#endif
|
#endif
|
@ -101,7 +101,7 @@ extern "C"
|
|||||||
__lc_noreturn void _exit(int status)
|
__lc_noreturn void _exit(int status)
|
||||||
{
|
{
|
||||||
syscall(SYS_exit, status);
|
syscall(SYS_exit, status);
|
||||||
__builtin_unreachable();
|
__lc_unreachable();
|
||||||
}
|
}
|
||||||
|
|
||||||
int dup(int fd)
|
int dup(int fd)
|
||||||
|
Loading…
Reference in New Issue
Block a user