mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 09:37:34 +00:00
LibC: Mark _exit() as noreturn
We already do this for exit().
This commit is contained in:
parent
83c809df5f
commit
ac4a31e057
2 changed files with 1 additions and 2 deletions
|
@ -208,7 +208,6 @@ void exit(int status)
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
_exit(status);
|
_exit(status);
|
||||||
ASSERT_NOT_REACHED();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __atexit_to_cxa_atexit(void* handler)
|
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(const char* path);
|
||||||
int chroot_with_mount_flags(const char* path, int mount_flags);
|
int chroot_with_mount_flags(const char* path, int mount_flags);
|
||||||
void sync();
|
void sync();
|
||||||
void _exit(int status);
|
__attribute__((noreturn)) void _exit(int status);
|
||||||
pid_t getsid(pid_t);
|
pid_t getsid(pid_t);
|
||||||
pid_t setsid();
|
pid_t setsid();
|
||||||
int setpgid(pid_t pid, pid_t pgid);
|
int setpgid(pid_t pid, pid_t pgid);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue