1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:17:35 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -42,7 +42,7 @@ static void perform_self_relocations(auxv_t* auxvp)
static void display_help()
{
const char message[] =
char const message[] =
R"(You have invoked `Loader.so'. This is the helper program for programs that
use shared libraries. Special directives embedded in executables tell the
kernel to load this program.
@ -85,7 +85,7 @@ void _entry(int argc, char** argv, char** envp)
main_program_fd = auxvp->a_un.a_val;
}
if (auxvp->a_type == ELF::AuxiliaryValue::ExecFilename) {
main_program_name = (const char*)auxvp->a_un.a_ptr;
main_program_name = (char const*)auxvp->a_un.a_ptr;
}
if (auxvp->a_type == ELF::AuxiliaryValue::Secure) {
is_secure = auxvp->a_un.a_val == 1;

View file

@ -8,7 +8,7 @@
#include <AK/Format.h>
extern "C" {
const char* __cxa_demangle(const char*, void*, void*, int*)
char const* __cxa_demangle(char const*, void*, void*, int*)
{
dbgln("WARNING: __cxa_demangle not supported");
return "";

View file

@ -7,7 +7,7 @@
#pragma once
extern "C" {
const char* __cxa_demangle(const char*, void*, void*, int*);
char const* __cxa_demangle(char const*, void*, void*, int*);
extern void* __dso_handle;
}