1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +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

@ -14,7 +14,7 @@
__thread char* s_dlerror_text = NULL;
__thread bool s_dlerror_retrieved = false;
static void store_error(const String& error)
static void store_error(String const& error)
{
free(s_dlerror_text);
s_dlerror_text = strdup(error.characters());
@ -41,7 +41,7 @@ char* dlerror()
return const_cast<char*>(s_dlerror_text);
}
void* dlopen(const char* filename, int flags)
void* dlopen(char const* filename, int flags)
{
auto result = __dlopen(filename, flags);
if (result.is_error()) {
@ -51,7 +51,7 @@ void* dlopen(const char* filename, int flags)
return result.value();
}
void* dlsym(void* handle, const char* symbol_name)
void* dlsym(void* handle, char const* symbol_name)
{
auto result = __dlsym(handle, symbol_name);
if (result.is_error()) {