mirror of
https://github.com/reactos/reactos.git
synced 2025-06-26 08:59:43 +00:00
[UCRT] Silence warning about returning noreturn function
This commit is contained in:
parent
a21a206c89
commit
2cc6699f0d
2 changed files with 5 additions and 0 deletions
|
@ -285,21 +285,25 @@ extern "C" int __cdecl _is_c_termination_complete()
|
|||
extern "C" void __cdecl exit(int const return_code)
|
||||
{
|
||||
common_exit(return_code, _crt_exit_full_cleanup, _crt_exit_terminate_process);
|
||||
UNREACHABLE;
|
||||
}
|
||||
|
||||
extern "C" void __cdecl _exit(int const return_code)
|
||||
{
|
||||
common_exit(return_code, _crt_exit_no_cleanup, _crt_exit_terminate_process);
|
||||
UNREACHABLE;
|
||||
}
|
||||
|
||||
extern "C" void __cdecl _Exit(int const return_code)
|
||||
{
|
||||
common_exit(return_code, _crt_exit_no_cleanup, _crt_exit_terminate_process);
|
||||
UNREACHABLE;
|
||||
}
|
||||
|
||||
extern "C" void __cdecl quick_exit(int const return_code)
|
||||
{
|
||||
common_exit(return_code, _crt_exit_quick_cleanup, _crt_exit_terminate_process);
|
||||
UNREACHABLE;
|
||||
}
|
||||
|
||||
extern "C" void __cdecl _cexit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue