Index: uspace/lib/c/generic/private/thread.h
===================================================================
--- uspace/lib/c/generic/private/thread.h	(revision 4805495a910f793f8918c13f029a38a5bb548154)
+++ uspace/lib/c/generic/private/thread.h	(revision a72f3b87bcdb8b8f14877d2ce9c68a09661f54c3)
@@ -37,15 +37,11 @@
 
 #include <time.h>
-#include <abi/proc/uarg.h>
 #include <libarch/thread.h>
 #include <abi/proc/thread.h>
 
 extern void __thread_entry(void);
-extern void __thread_main(uspace_arg_t *);
 
-extern errno_t thread_create(void (*)(void *), void *, const char *,
-    thread_id_t *);
+extern errno_t thread_create(errno_t (*)(void *), void *, const char *);
 extern void thread_exit(int) __attribute__((noreturn));
-extern void thread_detach(thread_id_t);
 extern thread_id_t thread_get_id(void);
 extern void thread_usleep(usec_t);
