expected formal parameter list, not a type list
A parameter type list instead of a formal parameter list appeared in a function definition.
In ANSI C, the formal parameters in a function definition must all be named unless they are void or an ellipsis (...).