It was one of the problems. Compiler does not know the size of team param(unless it's cleary specified in the header - team[32] or whatever) and will issue a warning:
Code:
warning 224: indeterminate array size in "sizeof" expression (symbol "")
In certain situations this could lead to a crash or unwanted behaviour.