novice programmer question, I have a big file with a bunch of functions that I want to break into separate files for readability's sake, i.e. a.c/a.h: aa(), ab(), ac(), b.c/b.h: ba(), bb(), bc()...
The problem is that some of these functions depend on one another. It's fine when everything is in one .c and one .h, but once I separate these out I end up with circular dependencies. I can put the offending function declarations in their own header file and include it in all header files, which works, but is counter to the organization I was trying to achieve. I can also put a bunch of externs at the top of each .c file, which seems to work. What's the elegant solution?