89db07 Move global functions to the global scope that we can re-use them

Authored and Committed by Pierre-Yves Chibon 8 years ago
    Move global functions to the global scope that we can re-use them