Large C codebase – how to organize code?
I haven't really coded in C since then, so when I looked at the source code after all those years I found a large number of bad practices and I'm slowly working towards fixing.
My question is - is there any guide towards organizing large C codebases that provides info like:
- How to name header guards? - How to name variables used for the same purpose for consistency? - How to name globals? - How to name the API functions? etc