Please use anonymous (unnamed) namespace instead of static function.