Fix prototype of get_process_state