Index: kernel/generic/include/proc/thread.h
===================================================================
--- kernel/generic/include/proc/thread.h	(revision 557394294b6545575e0e9b328455da8ae4cf8a51)
+++ kernel/generic/include/proc/thread.h	(revision 5b303ba8e7efb335494bc24c0a00abcab475cc09)
@@ -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
