Removed <kerrors.h> and the last occurences of ERR_* codes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6690 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
48f31b9581
commit
faeac94982
@ -20,7 +20,6 @@
|
||||
#include <cbuf.h>
|
||||
#include <Errors.h>
|
||||
#include <int.h>
|
||||
#include <kerrors.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include <malloc.h>
|
||||
#include <user_runtime.h>
|
||||
#include <Errors.h>
|
||||
#include <kerrors.h>
|
||||
#include <kimage.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
@ -247,7 +246,7 @@ wait_for_team(team_id id, status_t *_returnCode)
|
||||
if (team && team->main_thread)
|
||||
thread = team->main_thread->id;
|
||||
else
|
||||
thread = ERR_INVALID_HANDLE;
|
||||
thread = B_BAD_THREAD_ID;
|
||||
|
||||
RELEASE_TEAM_LOCK();
|
||||
restore_interrupts(state);
|
||||
@ -616,7 +615,7 @@ team_kill_team(team_id id)
|
||||
if (team != NULL)
|
||||
tid = team->main_thread->id;
|
||||
else
|
||||
retval = ERR_INVALID_HANDLE;
|
||||
retval = B_BAD_THREAD_ID;
|
||||
|
||||
RELEASE_TEAM_LOCK();
|
||||
restore_interrupts(state);
|
||||
|
Loading…
Reference in New Issue
Block a user