fix wrong data type and wrong using of create_kernel_task

This commit is contained in:
Stefan Lankes 2011-08-03 21:40:07 +02:00
parent 40230ade50
commit 2e1cfd7965
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg,
tid_t tmp;
kprintf("Create LWIP task %s\n", name);
create_kernel_task(&tmp,thread,arg);
create_kernel_task(&tmp, thread, arg);
return tmp;
}

View file

@ -21,7 +21,7 @@ typedef struct
int valid;
} sys_mbox_t;
typedef tid_t* sys_thread_t;
typedef tid_t sys_thread_t;
#if SYS_LIGHTWEIGHT_PROT
#if MAX_CORES > 1