Note: I'm constricted to what i describe my problem as. Meaning alternate ways of doing it is not possible.
I'm trying to seperate some functions into different files.
Header File A has some typedef
Header File B has function prototypes
Commong File has some commonly used functions and defines etc.
Source File A is the main program
Source File B-Z are the functions. (1 Function = 1 File)
Some of the functions require the common file and some require the typedefs.
But i also need the function file to be able to be compilied seperately without errors.
I've tried a lot of things but i always seem to get some type of error: multiple decleration, undeclared etc. Whats the best way of doing this?
Very much appreciated.