c - would unnecessary header files effect anything -


i have long c code written linux environment. have been adding , removing standard functions, have been adding new headers, never go through code find out if there unnecessary headers.

i wonder having unnecessary headers on code effect anything? if not effect anything, why c not include standard libraries default?

unnecessary headers affect compilation speeds, because of how stupid c's inclusion mechanism is: entire header read in , copy-pasted in source code.


Comments