Index: uspace/drv/intctl/apic/main.c
===================================================================
--- uspace/drv/intctl/apic/main.c	(revision b446b02d16cef27e33c81855d516b2f1a5ce70b2)
+++ uspace/drv/intctl/apic/main.c	(revision e211ea04fccf33d4cb2092f630a29e893e096a02)
@@ -43,9 +43,9 @@
 #define NAME  "apic"
 
-static int apic_dev_add(ddf_dev_t *dev);
-static int apic_dev_remove(ddf_dev_t *dev);
-static int apic_dev_gone(ddf_dev_t *dev);
-static int apic_fun_online(ddf_fun_t *fun);
-static int apic_fun_offline(ddf_fun_t *fun);
+static errno_t apic_dev_add(ddf_dev_t *dev);
+static errno_t apic_dev_remove(ddf_dev_t *dev);
+static errno_t apic_dev_gone(ddf_dev_t *dev);
+static errno_t apic_fun_online(ddf_fun_t *fun);
+static errno_t apic_fun_offline(ddf_fun_t *fun);
 
 static driver_ops_t driver_ops = {
@@ -62,9 +62,9 @@
 };
 
-static int apic_get_res(ddf_dev_t *dev, apic_res_t *res)
+static errno_t apic_get_res(ddf_dev_t *dev, apic_res_t *res)
 {
 	async_sess_t *parent_sess;
 	hw_res_list_parsed_t hw_res;
-	int rc;
+	errno_t rc;
 
 	parent_sess = ddf_dev_parent_sess_get(dev);
@@ -90,9 +90,9 @@
 }
 
-static int apic_dev_add(ddf_dev_t *dev)
+static errno_t apic_dev_add(ddf_dev_t *dev)
 {
 	apic_t *apic;
 	apic_res_t apic_res;
-	int rc;
+	errno_t rc;
 
         ddf_msg(LVL_DEBUG, "apic_dev_add(%p)", dev);
@@ -114,5 +114,5 @@
 }
 
-static int apic_dev_remove(ddf_dev_t *dev)
+static errno_t apic_dev_remove(ddf_dev_t *dev)
 {
         apic_t *apic = (apic_t *)ddf_dev_data_get(dev);
@@ -123,5 +123,5 @@
 }
 
-static int apic_dev_gone(ddf_dev_t *dev)
+static errno_t apic_dev_gone(ddf_dev_t *dev)
 {
         apic_t *apic = (apic_t *)ddf_dev_data_get(dev);
@@ -132,5 +132,5 @@
 }
 
-static int apic_fun_online(ddf_fun_t *fun)
+static errno_t apic_fun_online(ddf_fun_t *fun)
 {
         ddf_msg(LVL_DEBUG, "apic_fun_online()");
@@ -138,5 +138,5 @@
 }
 
-static int apic_fun_offline(ddf_fun_t *fun)
+static errno_t apic_fun_offline(ddf_fun_t *fun)
 {
         ddf_msg(LVL_DEBUG, "apic_fun_offline()");
