I have wrote some files: main.c, functions.c, functions2.c, and header.h. The some functions in the functions.c, and functions2 use my some enums, and structures.
Where must I place my enums, and structures? How to write declarations for them in the functions.c, and functions2.c? My functions (from different files) have to see them.
For example, I have wrote such function's declarations in the header.h:
int func(void);
void func2(int);
But I don't know how it write for enums, and structures.
Regards