Index: uspace/lib/c/generic/io/input.c
===================================================================
--- uspace/lib/c/generic/io/input.c	(revision f9b2cb4cf365498e1fe141b1aa66950fbc3dcb17)
+++ uspace/lib/c/generic/io/input.c	(revision 3b60ea0ab63232b82cbb39069c74d417545a98e6)
@@ -45,5 +45,5 @@
 static void input_cb_conn(ipc_callid_t iid, ipc_call_t *icall, void *arg);
 
-int input_open(async_sess_t *sess, input_ev_ops_t *ev_ops,
+errno_t input_open(async_sess_t *sess, input_ev_ops_t *ev_ops,
     void *arg, input_t **rinput)
 {
@@ -59,5 +59,5 @@
 
 	port_id_t port;
-	int rc = async_create_callback_port(exch, INTERFACE_INPUT_CB, 0, 0,
+	errno_t rc = async_create_callback_port(exch, INTERFACE_INPUT_CB, 0, 0,
 	    input_cb_conn, input, &port);
 	
@@ -83,8 +83,8 @@
 }
 
-int input_activate(input_t *input)
+errno_t input_activate(input_t *input)
 {
 	async_exch_t *exch = async_exchange_begin(input->sess);
-	int rc = async_req_0_0(exch, INPUT_ACTIVATE);
+	errno_t rc = async_req_0_0(exch, INPUT_ACTIVATE);
 	async_exchange_end(exch);
 	
@@ -95,5 +95,5 @@
     ipc_call_t *call)
 {
-	int rc = input->ev_ops->active(input);
+	errno_t rc = input->ev_ops->active(input);
 	async_answer_0(callid, rc);
 }
@@ -102,5 +102,5 @@
     ipc_call_t *call)
 {
-	int rc = input->ev_ops->deactive(input);
+	errno_t rc = input->ev_ops->deactive(input);
 	async_answer_0(callid, rc);
 }
@@ -113,5 +113,5 @@
 	keymod_t mods;
 	wchar_t c;
-	int rc;
+	errno_t rc;
 
 	type = IPC_GET_ARG1(*call);
@@ -129,5 +129,5 @@
 	int dx;
 	int dy;
-	int rc;
+	errno_t rc;
 
 	dx = IPC_GET_ARG1(*call);
@@ -145,5 +145,5 @@
 	unsigned max_x;
 	unsigned max_y;
-	int rc;
+	errno_t rc;
 
 	x = IPC_GET_ARG1(*call);
@@ -161,5 +161,5 @@
 	int bnum;
 	int press;
-	int rc;
+	errno_t rc;
 
 	bnum = IPC_GET_ARG1(*call);
