1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 01:25:09 +00:00

Everywhere: void arguments to C functions

Problem:
- C functions with no arguments require a single `void` in the argument list.

Solution:
- Put the `void` in the argument list of functions in C header files.
This commit is contained in:
Lenny Maiorani 2020-12-24 08:41:54 -07:00 committed by Andreas Kling
parent b990fc5d3a
commit b2316701a8
14 changed files with 29 additions and 29 deletions

View file

@ -444,7 +444,7 @@ void DynamicLoader::do_relocations(size_t total_tls_size)
}
// Defined in <arch>/plt_trampoline.S
extern "C" void _plt_trampoline() __attribute__((visibility("hidden")));
extern "C" void _plt_trampoline(void) __attribute__((visibility("hidden")));
void DynamicLoader::setup_plt_trampoline()
{