Index: libc/include/thread.h
===================================================================
--- libc/include/thread.h	(revision c05290e81f6086d8e04804e4279b9b263b794033)
+++ libc/include/thread.h	(revision 255ec3511fb7aaafb1f007ea8746bb2ef093ebe1)
@@ -30,6 +30,11 @@
 #define __LIBC__THREAD_H__
 
-int thread_create(void (* function)(void *arg), void *arg, void *stack, char *name);
-void thread_exit(int status);
+#include <kernel/proc/uarg.h>
+
+extern void __thread_entry(void);
+extern void thread_main(uspace_arg_t *uarg);
+
+extern int thread_create(void (* function)(void *arg), void *arg, char *name);
+extern void thread_exit(int status);
 
 #endif
