Index: uspace/drv/test/test3/test3.c
===================================================================
--- uspace/drv/test/test3/test3.c	(revision d5c1051faf4391647834d99babdd4a44ee5d9700)
+++ uspace/drv/test/test3/test3.c	(revision e211ea04fccf33d4cb2092f630a29e893e096a02)
@@ -41,8 +41,8 @@
 #define NUM_FUNCS 20
 
-static int test3_dev_add(ddf_dev_t *dev);
-static int test3_dev_remove(ddf_dev_t *dev);
-static int test3_fun_online(ddf_fun_t *fun);
-static int test3_fun_offline(ddf_fun_t *fun);
+static errno_t test3_dev_add(ddf_dev_t *dev);
+static errno_t test3_dev_remove(ddf_dev_t *dev);
+static errno_t test3_fun_online(ddf_fun_t *fun);
+static errno_t test3_fun_offline(ddf_fun_t *fun);
 
 static driver_ops_t driver_ops = {
@@ -63,10 +63,10 @@
 } test3_t;
 
-static int register_fun_and_add_to_category(ddf_dev_t *parent,
+static errno_t register_fun_and_add_to_category(ddf_dev_t *parent,
     const char *base_name, size_t index, const char *class_name,
     ddf_fun_t **pfun)
 {
 	ddf_fun_t *fun = NULL;
-	int rc;
+	errno_t rc;
 	char *fun_name = NULL;
 	
@@ -106,7 +106,7 @@
 }
 
-static int fun_remove(ddf_fun_t *fun, const char *name)
+static errno_t fun_remove(ddf_fun_t *fun, const char *name)
 {
-	int rc;
+	errno_t rc;
 
 	ddf_msg(LVL_DEBUG, "fun_remove(%p, '%s')", fun, name);
@@ -127,7 +127,7 @@
 }
 
-static int test3_dev_add(ddf_dev_t *dev)
+static errno_t test3_dev_add(ddf_dev_t *dev)
 {
-	int rc = EOK;
+	errno_t rc = EOK;
 	test3_t *test3;
 
@@ -153,9 +153,9 @@
 }
 
-static int test3_dev_remove(ddf_dev_t *dev)
+static errno_t test3_dev_remove(ddf_dev_t *dev)
 {
 	test3_t *test3 = (test3_t *)ddf_dev_data_get(dev);
 	char *fun_name;
-	int rc;
+	errno_t rc;
 	size_t i;
 
@@ -176,5 +176,5 @@
 }
 
-static int test3_fun_online(ddf_fun_t *fun)
+static errno_t test3_fun_online(ddf_fun_t *fun)
 {
 	ddf_msg(LVL_DEBUG, "test3_fun_online()");
@@ -182,5 +182,5 @@
 }
 
-static int test3_fun_offline(ddf_fun_t *fun)
+static errno_t test3_fun_offline(ddf_fun_t *fun)
 {
 	ddf_msg(LVL_DEBUG, "test3_fun_offline()");
