prompt: clover: fix array and hook-func declaration