On compilation a program throws an error saying a 'function should have prototype' what is wrong with the program?

One or more functions don't have a prototype. These functions should be either:
- made static
- have a prototype somewhere in a header (which is included into the same file)