Added keyword 'static' to function definitions.