Replace () with (void) in libinternalcommon and tools for consistency