Marking functions intended to be local to the extend compilation unit with static linkage. Also, removing two unused functions that the compiler warned about now that they have static linkage and the compiler knows they are not used anywhere.