Thank you, have perused what you wrote and see what to do.

Read some articles and as you said, the header file should not contain any code, only function prototype declarations, *not* function definitions.