Index: kernel/generic/include/proc/thread.h
===================================================================
--- kernel/generic/include/proc/thread.h	(revision 557394294b6545575e0e9b328455da8ae4cf8a51)
+++ kernel/generic/include/proc/thread.h	(revision 69e9dd2f7155aa5c481a39cd38d3d9bc2e03423b)
@@ -251,4 +251,5 @@
 unative_t sys_thread_create(uspace_arg_t *uspace_uarg, char *uspace_name);
 unative_t sys_thread_exit(int uspace_status);
+unative_t sys_thread_get_id(void);
 
 #endif
