fix duplicate name in function prototype