You need to specify the types of the arguments in both the function definition and the function prototype.