This is a nice thing to be aware of.
Making functions static only makes them visible to the translation unit (.c file) that you declare them into and may even bring performance improvements when compiler optimization is enabled.
Full lenght discussion on Stack Overflow:
http://stackoverflow.com/questions/5319361/static-function-in-c
Niciun comentariu:
Trimiteți un comentariu