Index: uspace/app/bdsh/scli.c
===================================================================
--- uspace/app/bdsh/scli.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/bdsh/scli.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -120,4 +120,4 @@
 
 	cli_finit(&usr);
-	return EXIT_RC(ret);
+	return ret;
 }
Index: uspace/app/corecfg/corecfg.c
===================================================================
--- uspace/app/corecfg/corecfg.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/corecfg/corecfg.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -77,7 +77,7 @@
 		return corecfg_print();
 	else if (str_cmp(argv[1], "enable") == 0)
-		return EXIT_RC(corecfg_set_enable(true));
+		return corecfg_set_enable(true);
 	else if (str_cmp(argv[1], "disable") == 0)
-		return EXIT_RC(corecfg_set_enable(false));
+		return corecfg_set_enable(false);
 	else {
 		printf("%s: Unknown command '%s'.\n", NAME, argv[1]);
Index: uspace/app/date/date.c
===================================================================
--- uspace/app/date/date.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/date/date.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -191,5 +191,5 @@
 	free(svc_name);
 	free(svc_ids);
-	return EXIT_RC(rc);
+	return rc;
 }
 
Index: uspace/app/dnscfg/dnscfg.c
===================================================================
--- uspace/app/dnscfg/dnscfg.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/dnscfg/dnscfg.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -128,9 +128,9 @@
 {
 	if ((argc < 2) || (str_cmp(argv[1], "get-ns") == 0))
-		return EXIT_RC(dnscfg_print());
+		return dnscfg_print();
 	else if (str_cmp(argv[1], "set-ns") == 0)
-		return EXIT_RC(dnscfg_set_ns(argc - 2, argv + 2));
+		return dnscfg_set_ns(argc - 2, argv + 2);
 	else if (str_cmp(argv[1], "unset-ns") == 0)
-		return EXIT_RC(dnscfg_unset_ns());
+		return dnscfg_unset_ns();
 	else {
 		printf("%s: Unknown command '%s'.\n", NAME, argv[1]);
Index: uspace/app/dnsres/dnsres.c
===================================================================
--- uspace/app/dnsres/dnsres.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/dnsres/dnsres.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -81,5 +81,5 @@
 	if (rc != EOK) {
 		printf("%s: Error resolving '%s'.\n", NAME, hname);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -89,5 +89,5 @@
 		dnsr_hostinfo_destroy(hinfo);
 		printf("%s: Error formatting address.\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/app/download/main.c
===================================================================
--- uspace/app/download/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/download/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -240,5 +240,5 @@
 	if (ofile != NULL && fclose(ofile) != 0) {
 		printf("Error writing '%s'.\n", ofname);
-		return EXIT_RC(EIO);
+		return EIO;
 	}
 
@@ -252,5 +252,5 @@
 	if (ofile != NULL)
 		fclose(ofile);
-	return EXIT_RC(rc);
+	return rc;
 }
 
Index: uspace/app/getterm/getterm.c
===================================================================
--- uspace/app/getterm/getterm.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/getterm/getterm.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -138,5 +138,5 @@
 			printf("%s: Error waiting on %s (%s)\n", APP_NAME, term,
 			    str_error(rc));
-			return EXIT_RC(rc);
+			return rc;
 		}
 	}
@@ -175,5 +175,5 @@
 		printf("%s: Error spawning %s (%s)\n", APP_NAME, cmd,
 		    str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -184,5 +184,5 @@
 		printf("%s: Error waiting for %s (%s)\n", APP_NAME, cmd,
 		    str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/app/kio/kio.c
===================================================================
--- uspace/app/kio/kio.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/kio/kio.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -191,5 +191,5 @@
 		fprintf(stderr, "%s: Unable to get number of kio pages\n",
 		    NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -199,5 +199,5 @@
 		fprintf(stderr, "%s: Unable to get kio physical address\n",
 		    NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -209,5 +209,5 @@
 	if (rc != EOK) {
 		fprintf(stderr, "%s: Unable to map kio\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -217,5 +217,5 @@
 		fprintf(stderr, "%s: Unable to register kio notifications\n",
 		    NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -224,5 +224,5 @@
 		fprintf(stderr, "%s: Unable to create consumer fibril\n",
 		    NAME);
-		return EXIT_RC(ENOMEM);
+		return ENOMEM;
 	}
 	
@@ -230,5 +230,5 @@
 	if (!input) {
 		fprintf(stderr, "%s: Could not create input\n", NAME);
-		return EXIT_RC(ENOMEM);
+		return ENOMEM;
 	}
 
@@ -253,5 +253,5 @@
 		rc = EOK;
 
-	return EXIT_RC(rc);
+	return rc;
 }
 
Index: uspace/app/mkbd/main.c
===================================================================
--- uspace/app/mkbd/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/mkbd/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -222,5 +222,5 @@
 		printf("Device not found or not of USB kind: %s.\n",
 		    str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -229,5 +229,5 @@
 		printf(NAME ": failed to connect to the device (handle %"
 		       PRIun "): %s.\n", dev_handle, str_error(errno));
-		return EXIT_RC(errno);
+		return errno;
 	}
 	
@@ -239,5 +239,5 @@
 		printf(NAME ": failed to get path (handle %"
 		       PRIun "): %s.\n", dev_handle, str_error(errno));
-		return EXIT_RC(ENOMEM);
+		return ENOMEM;
 	}
 	
@@ -250,5 +250,5 @@
 		printf("Failed to initialize report parser: %s\n",
 		    str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -259,5 +259,5 @@
 	if (rc != EOK) {
 		printf("Failed to get event length: %s.\n", str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -266,5 +266,5 @@
 		printf("Out of memory.\n");
 		// TODO: hangup phone?
-		return EXIT_RC(ENOMEM);
+		return ENOMEM;
 	}
 	
Index: uspace/app/nic/nic.c
===================================================================
--- uspace/app/nic/nic.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/nic/nic.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -544,23 +544,23 @@
 
 		if (!str_cmp(argv[2], "addr"))
-			return EXIT_RC(nic_set_addr(index, argv[3]));
+			return nic_set_addr(index, argv[3]);
 
 		if (!str_cmp(argv[2], "speed"))
-			return EXIT_RC(nic_set_speed(index, argv[3]));
+			return nic_set_speed(index, argv[3]);
 
 		if (!str_cmp(argv[2], "duplex"))
-			return EXIT_RC(nic_set_duplex(index, argv[3]));
+			return nic_set_duplex(index, argv[3]);
 
 		if (!str_cmp(argv[2], "auto"))
-			return EXIT_RC(nic_set_autoneg(index));
+			return nic_set_autoneg(index);
 
 		if (!str_cmp(argv[2], "unicast"))
-			return EXIT_RC(nic_set_rx_unicast(index, argv[3]));
+			return nic_set_rx_unicast(index, argv[3]);
 
 		if (!str_cmp(argv[2], "multicast"))
-			return EXIT_RC(nic_set_rx_multicast(index, argv[3]));
+			return nic_set_rx_multicast(index, argv[3]);
 
 		if (!str_cmp(argv[2], "broadcast"))
-			return EXIT_RC(nic_set_rx_broadcast(index, argv[3]));
+			return nic_set_rx_broadcast(index, argv[3]);
 
 	} else {
Index: uspace/app/sysinfo/sysinfo.c
===================================================================
--- uspace/app/sysinfo/sysinfo.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/sysinfo/sysinfo.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -182,5 +182,5 @@
 			break;
 		case SYSINFO_VAL_VAL:
-			rc = EXIT_RC(print_item_val(ipath));
+			rc = print_item_val(ipath);
 			break;
 		case SYSINFO_VAL_DATA:
Index: uspace/app/sysinst/sysinst.c
===================================================================
--- uspace/app/sysinst/sysinst.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/sysinst/sysinst.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -387,5 +387,5 @@
 {
 	const char *dev = DEFAULT_DEV;
-	return EXIT_RC(sysinst_install(dev));
+	return sysinst_install(dev);
 }
 
Index: uspace/app/vuhid/main.c
===================================================================
--- uspace/app/vuhid/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/vuhid/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -238,5 +238,5 @@
 		printf("Unable to start communication with VHCD `%s': %s.\n",
 		    controller, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/app/websrv/websrv.c
===================================================================
--- uspace/app/websrv/websrv.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/websrv/websrv.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -450,8 +450,8 @@
 			rc = parse_option(argc, argv, &i);
 			if (rc != EOK)
-				return EXIT_RC(rc);
+				return rc;
 		} else {
 			usage();
-			return EXIT_RC(EINVAL);
+			return EINVAL;
 		}
 	}
Index: uspace/app/wifi_supplicant/wifi_supplicant.c
===================================================================
--- uspace/app/wifi_supplicant/wifi_supplicant.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/app/wifi_supplicant/wifi_supplicant.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -293,5 +293,5 @@
 	if (argc == 2) {
 		if (!str_cmp(argv[1], "list"))
-			return EXIT_RC(wifi_list());
+			return wifi_list();
 	} else if (argc > 2) {
 		uint32_t index;
@@ -300,5 +300,5 @@
 			printf("%s: Invalid argument.\n", NAME);
 			print_syntax();
-			return EXIT_RC(EINVAL);
+			return EINVAL;
 		}
 		
@@ -309,5 +309,5 @@
 					now = true;
 			
-			return EXIT_RC(wifi_scan(index, now));
+			return wifi_scan(index, now);
 		} else if (!str_cmp(argv[1], "connect")) {
 			char *pass = NULL;
@@ -316,8 +316,8 @@
 					pass = argv[4];
 				
-				return EXIT_RC(wifi_connect(index, argv[3], pass));
+				return wifi_connect(index, argv[3], pass);
 			}
 		} else if (!str_cmp(argv[1], "disconnect"))
-			return EXIT_RC(wifi_disconnect(index));
+			return wifi_disconnect(index);
 	}
 	
Index: uspace/drv/nic/rtl8139/driver.c
===================================================================
--- uspace/drv/nic/rtl8139/driver.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/drv/nic/rtl8139/driver.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -2145,5 +2145,5 @@
 	errno_t rc = nic_driver_init(NAME);
 	if (rc != EOK)
-		return EXIT_RC(rc);
+		return rc;
 
 	nic_driver_implement(&rtl8139_driver_ops, &rtl8139_dev_ops,
Index: uspace/drv/nic/rtl8169/driver.c
===================================================================
--- uspace/drv/nic/rtl8169/driver.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/drv/nic/rtl8169/driver.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -1210,5 +1210,5 @@
 	errno_t rc = nic_driver_init(NAME);
 	if (rc != EOK)
-		return EXIT_RC(rc);
+		return rc;
 	nic_driver_implement(
 		&rtl8169_driver_ops, &rtl8169_dev_ops, &rtl8169_nic_iface);
Index: uspace/lib/c/include/stdlib.h
===================================================================
--- uspace/lib/c/include/stdlib.h	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/lib/c/include/stdlib.h	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -54,9 +54,4 @@
 #define EXIT_FAILURE -1
 
-#include <errno.h>
-static inline int EXIT_RC(errno_t rc) {
-	return (int) rc;
-}
-
 #endif
 
Index: uspace/lib/drv/generic/driver.c
===================================================================
--- uspace/lib/drv/generic/driver.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/lib/drv/generic/driver.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -978,5 +978,5 @@
 	if (rc != EOK) {
 		printf("Error: Failed to create driver port.\n");
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -985,5 +985,5 @@
 	if (rc != EOK) {
 		printf("Error: Failed to create devman port.\n");
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -996,5 +996,5 @@
 		    str_error(rc));
 		
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -1003,5 +1003,5 @@
 	if (rc != EOK) {
 		printf("Error: Failed returning task value.\n");
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/audio/hound/main.c
===================================================================
--- uspace/srv/audio/hound/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/audio/hound/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -80,5 +80,5 @@
 		log_fatal("Failed to initialize hound structure: %s",
 		    str_error(ret));
-		return EXIT_RC(ret);
+		return ret;
 	}
 
@@ -91,5 +91,5 @@
 	if (ret != EOK) {
 		log_fatal("Failed to register server: %s", str_error(ret));
-		return EXIT_RC(ret);
+		return ret;
 	}
 
@@ -99,5 +99,5 @@
 		    str_error(ret));
 		hound_server_unregister(id);
-		return EXIT_RC(ret);
+		return ret;
 	}
 	log_info("Running with service id %" PRIun, id);
Index: uspace/srv/bd/file_bd/file_bd.c
===================================================================
--- uspace/srv/bd/file_bd/file_bd.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/bd/file_bd/file_bd.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -138,5 +138,5 @@
 		printf("%s: Unable to register device '%s': %s.\n",
 		    NAME, device_name, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -144,5 +144,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed resolving category 'disk': %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -151,5 +151,5 @@
 		printf("%s: Failed adding %s to category: %s",
 		    NAME, device_name, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
Index: uspace/srv/bd/sata_bd/sata_bd.c
===================================================================
--- uspace/srv/bd/sata_bd/sata_bd.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/bd/sata_bd/sata_bd.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -253,5 +253,5 @@
 	if (rc != EOK) {
 		printf(NAME ": Unable to register driver: %s.\n", str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -259,5 +259,5 @@
 	if (rc != EOK) {
 		printf(NAME ": Cannot find SATA disks: %s.\n", str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -265,5 +265,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed resolving category 'disk': %s.\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -274,5 +274,5 @@
 		if (rc != EOK) {
 			printf(NAME ": Unable to register device %s: %s\n", name, str_error(rc));
-			return EXIT_RC(rc);
+			return rc;
 		}
 
@@ -281,5 +281,5 @@
 			printf("%s: Failed adding %s to category: %s.",
 			    NAME, disk[i].dev_name, str_error(rc));
-			return EXIT_RC(rc);
+			return rc;
 		}
 	}
Index: uspace/srv/clipboard/clipboard.c
===================================================================
--- uspace/srv/clipboard/clipboard.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/clipboard/clipboard.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -190,5 +190,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed registering server: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -196,5 +196,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed registering service : %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/devman/main.c
===================================================================
--- uspace/srv/devman/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/devman/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -320,5 +320,5 @@
 	if (rc != EOK) {
 		printf("%s: Error initializing logging subsystem: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -332,5 +332,5 @@
 	if (rc != EOK) {
 		printf("%s: Error creating DDF driver port: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -339,5 +339,5 @@
 	if (rc != EOK) {
 		printf("%s: Error creating DDF client port: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -346,5 +346,5 @@
 	if (rc != EOK) {
 		printf("%s: Error creating devman device port: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -353,5 +353,5 @@
 	if (rc != EOK) {
 		printf("%s: Error creating devman parent port: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -367,5 +367,5 @@
 	if (rc != EOK) {
 		log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering as a service: %s", str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/fs/cdfs/cdfs.c
===================================================================
--- uspace/srv/fs/cdfs/cdfs.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/fs/cdfs/cdfs.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -86,5 +86,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed to register file system: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/fs/exfat/exfat.c
===================================================================
--- uspace/srv/fs/exfat/exfat.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/fs/exfat/exfat.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -98,5 +98,5 @@
 err:
 	printf(NAME ": Failed to register file system: %s\n", str_error(rc));
-	return EXIT_RC(rc);
+	return rc;
 }
 
Index: uspace/srv/fs/ext4fs/ext4fs.c
===================================================================
--- uspace/srv/fs/ext4fs/ext4fs.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/fs/ext4fs/ext4fs.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -76,5 +76,5 @@
 	if (rc != EOK) {
 		printf("%s: Global initialization failed\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -83,5 +83,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed to register file system\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/fs/fat/fat.c
===================================================================
--- uspace/srv/fs/fat/fat.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/fs/fat/fat.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -98,5 +98,5 @@
 err:
 	printf(NAME ": Failed to register file system: %s\n", str_error(rc));
-	return EXIT_RC(rc);
+	return rc;
 }
 
Index: uspace/srv/fs/locfs/locfs.c
===================================================================
--- uspace/srv/fs/locfs/locfs.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/fs/locfs/locfs.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -90,5 +90,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed to register file system: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/fs/mfs/mfs.c
===================================================================
--- uspace/srv/fs/mfs/mfs.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/fs/mfs/mfs.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -100,5 +100,5 @@
 err:
 	printf(NAME ": Failed to register file system: %s\n", str_error(rc));
-	return EXIT_RC(rc);
+	return rc;
 }
 
Index: uspace/srv/fs/tmpfs/tmpfs.c
===================================================================
--- uspace/srv/fs/tmpfs/tmpfs.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/fs/tmpfs/tmpfs.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -92,5 +92,5 @@
 	if (rc != EOK) {
 		printf(NAME ": Failed to register file system: %s\n", str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/fs/udf/udf.c
===================================================================
--- uspace/srv/fs/udf/udf.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/fs/udf/udf.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -99,5 +99,5 @@
 err:
 	log_msg(LOG_DEFAULT, LVL_FATAL, "Failed to register file system: %s", str_error(rc));
-	return EXIT_RC(rc);
+	return rc;
 }
 
Index: uspace/srv/hid/compositor/compositor.c
===================================================================
--- uspace/srv/hid/compositor/compositor.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/hid/compositor/compositor.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -2316,5 +2316,5 @@
 	errno_t rc = compositor_srv_init(argv[1], argv[2]);
 	if (rc != EOK)
-		return EXIT_RC(rc);
+		return rc;
 	
 	printf("%s: Accepting connections\n", NAME);
Index: uspace/srv/hid/input/input.c
===================================================================
--- uspace/srv/hid/input/input.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/hid/input/input.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -869,5 +869,5 @@
 	if (rc != EOK) {
 		printf("%s: Unable to register server\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -876,5 +876,5 @@
 	if (rc != EOK) {
 		printf("%s: Unable to register service %s\n", NAME, argv[1]);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/hid/isdv4_tablet/main.c
===================================================================
--- uspace/srv/hid/isdv4_tablet/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/hid/isdv4_tablet/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -315,5 +315,5 @@
 	if (rc != EOK) {
 		printf("%s: Unable to register driver.\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -322,5 +322,5 @@
 	if (asprintf(&service_name, "mouse/isdv4-%" PRIun, svc_id) < 0) {
 		printf(NAME ": Unable to create service name\n");
-		return EXIT_RC(ENOMEM);
+		return ENOMEM;
 	}
 
@@ -328,5 +328,5 @@
 	if (rc != EOK) {
 		printf(NAME ": Unable to register service %s.\n", service_name);
-		return EXIT_RC(rc);
+		return rc;
 	}
 
Index: uspace/srv/hid/output/output.c
===================================================================
--- uspace/srv/hid/output/output.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/hid/output/output.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -470,5 +470,5 @@
 	if (rc != EOK) {
 		printf("%s: Unable to register driver\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -477,5 +477,5 @@
 	if (rc != EOK) {
 		printf("%s: Unable to register service %s\n", NAME, argv[1]);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/hid/remcons/remcons.c
===================================================================
--- uspace/srv/hid/remcons/remcons.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/hid/remcons/remcons.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -353,5 +353,5 @@
 	if (rc != EOK) {
 		fprintf(stderr, "%s: Unable to register server\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -359,5 +359,5 @@
 	if (rc != EOK) {
 		fprintf(stderr, "%s: Error initializing TCP.\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -369,5 +369,5 @@
 	if (rc != EOK) {
 		fprintf(stderr, "%s: Error creating listener.\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 
Index: uspace/srv/hid/rfb/main.c
===================================================================
--- uspace/srv/hid/rfb/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/hid/rfb/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -220,5 +220,5 @@
 	if (rc != EOK) {
 		printf("%s: Unable to register server.\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -226,5 +226,5 @@
 	if (asprintf(&service_name, "rfb/%s", rfb_name) < 0) {
 		printf(NAME ": Unable to create service name\n");
-		return EXIT_RC(ENOMEM);
+		return ENOMEM;
 	}
 
@@ -234,5 +234,5 @@
 	if (rc != EOK) {
 		printf(NAME ": Unable to register service %s.\n", service_name);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c
===================================================================
--- uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -88,5 +88,5 @@
 	if (rc != EOK) {
 		printf("%s: Unable to register driver.\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 
Index: uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
===================================================================
--- uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -85,5 +85,5 @@
 	if (rc != EOK) {
 		printf("%s: Unable to register server.\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 
Index: uspace/srv/klog/klog.c
===================================================================
--- uspace/srv/klog/klog.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/klog/klog.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -213,5 +213,5 @@
 	if (rc != EOK) {
 		fprintf(stderr, "%s: Unable to initialize log\n", NAME);
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -232,5 +232,5 @@
 		log_msg(LOG_DEFAULT, LVL_ERROR,
 		    "Unable to register klog notifications");
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -239,5 +239,5 @@
 		log_msg(LOG_DEFAULT, LVL_ERROR,
 		    "Unable to create consumer fibril");
-		return EXIT_RC(ENOMEM);
+		return ENOMEM;
 	}
 	
Index: uspace/srv/loader/main.c
===================================================================
--- uspace/srv/loader/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/loader/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -397,5 +397,5 @@
 	errno_t rc = ns_intro(id);
 	if (rc != EOK)
-		return EXIT_RC(rc);
+		return rc;
 	
 	/* Create port */
@@ -403,10 +403,10 @@
 	rc = async_create_port(INTERFACE_LOADER, ldr_connection, NULL, &port);
 	if (rc != EOK)
-		return EXIT_RC(rc);
+		return rc;
 	
 	/* Register at naming service. */
 	rc = service_register(SERVICE_LOADER);
 	if (rc != EOK)
-		return EXIT_RC(rc);
+		return rc;
 	
 	async_manager();
Index: uspace/srv/locsrv/locsrv.c
===================================================================
--- uspace/srv/locsrv/locsrv.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/locsrv/locsrv.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -1532,5 +1532,5 @@
 	if (rc != EOK) {
 		printf("%s: Error while creating supplier port: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -1539,5 +1539,5 @@
 	if (rc != EOK) {
 		printf("%s: Error while creating consumer port: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -1549,5 +1549,5 @@
 	if (rc != EOK) {
 		printf("%s: Error while registering service: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/logger/main.c
===================================================================
--- uspace/srv/logger/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/logger/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -74,5 +74,5 @@
 	if (rc != EOK) {
 		printf("%s: Error while creating control port: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -81,5 +81,5 @@
 	if (rc != EOK) {
 		printf("%s: Error while creating writer port: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/net/loopip/loopip.c
===================================================================
--- uspace/srv/net/loopip/loopip.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/net/loopip/loopip.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -253,5 +253,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed to initialize logging: %s.\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
@@ -259,5 +259,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed to initialize loopip: %s.\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
Index: uspace/srv/net/slip/slip.c
===================================================================
--- uspace/srv/net/slip/slip.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/net/slip/slip.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -421,5 +421,5 @@
 	if (argc != 3) {
 		usage();
-		return EXIT_RC(EINVAL);
+		return EINVAL;
 	}
 
@@ -427,5 +427,5 @@
 	if (rc != EOK) {
 		printf(NAME ": failed to initialize log\n");
-		return EXIT_RC(rc);
+		return rc;
 	}
 
Index: uspace/srv/ns/ns.c
===================================================================
--- uspace/srv/ns/ns.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/ns/ns.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -134,13 +134,13 @@
 	errno_t rc = service_init();
 	if (rc != EOK)
-		return EXIT_RC(rc);
+		return rc;
 	
 	rc = clonable_init();
 	if (rc != EOK)
-		return EXIT_RC(rc);
+		return rc;
 	
 	rc = task_init();
 	if (rc != EOK)
-		return EXIT_RC(rc);
+		return rc;
 	
 	async_set_fallback_port_handler(ns_connection, NULL);
Index: uspace/srv/test/chardev-test/main.c
===================================================================
--- uspace/srv/test/chardev-test/main.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/test/chardev-test/main.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -115,5 +115,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed registering server.: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -133,5 +133,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed registering service.: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -139,5 +139,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed registering service.: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -145,5 +145,5 @@
 	if (rc != EOK) {
 		printf("%s: Failed registering service.: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
Index: uspace/srv/vfs/vfs.c
===================================================================
--- uspace/srv/vfs/vfs.c	(revision c81d4f18721cc59f484518c5e3819a401e3e431f)
+++ uspace/srv/vfs/vfs.c	(revision 3b47db687606b55f2694aaa5c4c6db563b5b61eb)
@@ -98,5 +98,5 @@
 		printf("%s: Failed to initialize VFS node hash table\n",
 		    NAME);
-		return EXIT_RC(ENOMEM);
+		return ENOMEM;
 	}
 	
@@ -108,5 +108,5 @@
 	if (plb == AS_MAP_FAILED) {
 		printf("%s: Cannot create address space area\n", NAME);
-		return EXIT_RC(ENOMEM);
+		return ENOMEM;
 	}
 	memset(plb, 0, PLB_SIZE);
@@ -125,5 +125,5 @@
 	if (rc != EOK) {
 		printf("%s: Cannot create pager port: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 
@@ -145,5 +145,5 @@
 	if (rc != EOK) {
 		printf("%s: Cannot register VFS service: %s\n", NAME, str_error(rc));
-		return EXIT_RC(rc);
+		return rc;
 	}
 	
