Dependency management in C