I am attempting to separate my function prototypes and the actual implementantions between .h and .c files to make it easier to see what functions I have.
my compiler, visual studio, has removed the curly green underline from under the function prototypes in the header files implying it is seeing the implementations in the .c file, but when I try to compile it I get 100+ errors all saying stuff like "syntax error: missing ';' before '*'
" or "syntax error: missing ')' before '*'
" or "syntax error: missing '}' before '*'
" both in the .h and .c files. They are mostly pointing to the parameters in the prototypes, but I could not go trough all to know for sure.
Is there some other special way to do this?
I tried:
- Making them extern
- Changing guards to a name i know for sure isnt already used
I do not know what else I can try.