I am using the atexit function for one of my c codes and everything works fine except I get an error message from the compiler which reads:
warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
What does this mean? It refers to this line of code:
I have tried to prototype this but it brings more warnings. Maybe I am doing this wrong. What would be your coding to prototype this function?Code:atexit(thank_you);
Thanks
Stuart