The function was named like a public API call but wasn't one. Rather than renaming, replace it with a lambda that keeps the callback and void-pointer casting local to the function it is necessary for. This also avoids obfuscating code with function calls for trivial logic.