PCC-02307: void can only be used when single parameter

PCC-02307: void can only be used when single parameter

Cause: A function can be declared or defined using the following syntax: int func1(void) to indicate that the function has no parameters. void can be used only once in this case.

Action: Remove the extra voids in the function definition or declaration.

No comments:

Post a Comment