In C/C++, a function declared in the global namespace has external linkage by default. Adding the static keyword gives them internal linkage.

A function with external linkage can be redeclared in another translation unit. On the other hand, a function with internal linkage can only be redeclared in the same translation unit.