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:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue