fix prof_repeat prototype in doc