Index: uspace/lib/c/include/async.h
===================================================================
--- uspace/lib/c/include/async.h	(revision 25a179efc4ecca45aa90793992b6c1c2743fd07f)
+++ uspace/lib/c/include/async.h	(revision 39b54fe7194b1ffcbd629620649e5551d1fef2ea)
@@ -170,5 +170,5 @@
 extern int async_irq_subscribe(int, async_notification_handler_t, void *,
     const irq_code_t *, cap_handle_t *);
-extern int async_irq_unsubscribe(int);
+extern int async_irq_unsubscribe(cap_handle_t);
 
 extern int async_event_subscribe(event_type_t, async_notification_handler_t,
Index: uspace/lib/c/include/futex.h
===================================================================
--- uspace/lib/c/include/futex.h	(revision 25a179efc4ecca45aa90793992b6c1c2743fd07f)
+++ uspace/lib/c/include/futex.h	(revision 39b54fe7194b1ffcbd629620649e5551d1fef2ea)
@@ -108,9 +108,9 @@
  * @param futex Futex.
  *
- * @return Non-zero if the futex was acquired.
- * @return Zero if the futex was not acquired.
+ * @return true if the futex was acquired.
+ * @return false if the futex was not acquired.
  *
  */
-static inline int futex_trydown(futex_t *futex)
+static inline bool futex_trydown(futex_t *futex)
 {
 	return cas(&futex->val, 1, 0);
@@ -129,5 +129,5 @@
 {
 	if ((atomic_signed_t) atomic_predec(&futex->val) < 0)
-		return __SYSCALL1(SYS_FUTEX_SLEEP, (sysarg_t) &futex->val.count);
+		return (int) __SYSCALL1(SYS_FUTEX_SLEEP, (sysarg_t) &futex->val.count);
 	
 	return EOK;
@@ -146,5 +146,5 @@
 {
 	if ((atomic_signed_t) atomic_postinc(&futex->val) < 0)
-		return __SYSCALL1(SYS_FUTEX_WAKEUP, (sysarg_t) &futex->val.count);
+		return (int) __SYSCALL1(SYS_FUTEX_WAKEUP, (sysarg_t) &futex->val.count);
 	
 	return EOK;
Index: uspace/lib/c/include/io/table.h
===================================================================
--- uspace/lib/c/include/io/table.h	(revision 25a179efc4ecca45aa90793992b6c1c2743fd07f)
+++ uspace/lib/c/include/io/table.h	(revision 39b54fe7194b1ffcbd629620649e5551d1fef2ea)
@@ -40,4 +40,5 @@
 #include <stddef.h>
 #include <stdio.h>
+#include <errno.h>
 
 /** Table metrics */
