Moved thread_types.h to this place.
Changed fd.h inlines because team->ioctx is now team->io_context. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2140 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -90,9 +90,9 @@ static struct io_context *get_current_io_context(bool kernel);
|
||||
static __inline struct io_context *get_current_io_context(bool kernel)
|
||||
{
|
||||
if (kernel)
|
||||
return team_get_kernel_team()->ioctx;
|
||||
return team_get_kernel_team()->io_context;
|
||||
|
||||
return thread_get_current_thread()->team->ioctx;
|
||||
return thread_get_current_thread()->team->io_context;
|
||||
}
|
||||
|
||||
#endif /* _FD_H */
|
||||
|
||||
Reference in New Issue
Block a user