From 166515d66302fa962e35037ed3d203c62509c7ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 23 Feb 2004 03:13:54 +0000 Subject: [PATCH] Replaced the scary team_get_team_struct() with the more pleasing team_is_valid(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6676 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/thread.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/headers/private/kernel/thread.h b/headers/private/kernel/thread.h index dea76e5edf..298c7e7851 100755 --- a/headers/private/kernel/thread.h +++ b/headers/private/kernel/thread.h @@ -1,4 +1,7 @@ /* +** Copyright 2002-2004, The OpenBeOS Team. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +** ** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. */ @@ -60,7 +63,7 @@ team_id team_get_kernel_team_id(void); team_id team_get_current_team_id(void); char **user_team_get_arguments(void); int user_team_get_arg_count(void); -struct team *team_get_team_struct(team_id id); +bool team_is_valid(team_id id); struct team *team_get_team_struct_locked(team_id id); // used in syscalls.c