mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
LibC: Mark _exit() as noreturn
We already do this for exit().
This commit is contained in:
parent
83c809df5f
commit
ac4a31e057
Notes:
sideshowbarker
2024-07-19 06:07:16 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/ac4a31e057c Pull-request: https://github.com/SerenityOS/serenity/pull/2394 Reviewed-by: https://github.com/awesomekling ✅
@ -208,7 +208,6 @@ void exit(int status)
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
_exit(status);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
static void __atexit_to_cxa_atexit(void* handler)
|
||||
|
@ -72,7 +72,7 @@ int execlp(const char* filename, const char* arg, ...);
|
||||
int chroot(const char* path);
|
||||
int chroot_with_mount_flags(const char* path, int mount_flags);
|
||||
void sync();
|
||||
void _exit(int status);
|
||||
__attribute__((noreturn)) void _exit(int status);
|
||||
pid_t getsid(pid_t);
|
||||
pid_t setsid();
|
||||
int setpgid(pid_t pid, pid_t pgid);
|
||||
|
Loading…
Reference in New Issue
Block a user