rt: Remove rust_task_user struct

This commit is contained in:
Brian Anderson 2012-02-08 17:46:12 -08:00
parent 1dad32c015
commit d39ea47746
5 changed files with 25 additions and 36 deletions

View file

@ -439,7 +439,7 @@ rust_new_sched(uintptr_t threads) {
extern "C" CDECL rust_task_id
get_task_id() {
rust_task *task = rust_task_thread::get_task();
return task->user.id;
return task->id;
}
static rust_task_id