fixed typo in function prototype