Remove meaningless const
allso patch the function definition
correct cl_log_event patch for linux