Fix prototype function name typos