applies clang-format fixes

This commit is contained in:
2026-03-20 11:42:58 +01:00
parent 0e948fe1be
commit 75505f214e
2 changed files with 53 additions and 54 deletions

View File

@@ -20,14 +20,14 @@ extern void __libc_fini_array(void);
void __wrap_exit(int code) {
#ifndef HAVE_NO_INIT_FINI
__libc_fini_array();
__libc_fini_array();
#endif
const char message[] = "\nProgam has exited with code:";
write(STDERR_FILENO, message, sizeof(message) - 1);
write_hex(STDERR_FILENO, code);
write(STDERR_FILENO, "\n", 1);
tohost = (code << 1) + 1;
for (;;)
;
const char message[] = "\nProgram has exited with code:";
write(STDERR_FILENO, message, sizeof(message) - 1);
write_hex(STDERR_FILENO, code);
write(STDERR_FILENO, "\n", 1);
tohost = (code << 1) + 1;
for(;;)
;
}
weak_under_alias(exit);