Moved wait_for_team() into the exported kernel API region. Added missing call for _user_get_current_team(). Made the team_kill_team() call to the BeOS compatible kill_team(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6868 a95241bf-73f2-0310-859d-f6bbb57e9c96