Index: uspace/lib/usbhost/include/usb/host/ddf_helpers.h
===================================================================
--- uspace/lib/usbhost/include/usb/host/ddf_helpers.h	(revision 132ab5d1e75253f9bae910b2748a4c13efe7e71f)
+++ uspace/lib/usbhost/include/usb/host/ddf_helpers.h	(revision 55958412df6b000da41325bf219018aabc44bde9)
@@ -45,5 +45,5 @@
 
 
-int hcd_ddf_setup_hc(ddf_dev_t *, size_t);
+errno_t hcd_ddf_setup_hc(ddf_dev_t *, size_t);
 void hcd_ddf_clean_hc(hc_device_t *);
 
@@ -52,8 +52,8 @@
 void hcd_ddf_fun_destroy(device_t *);
 
-int hcd_ddf_setup_match_ids(device_t *, usb_standard_device_descriptor_t *);
+errno_t hcd_ddf_setup_match_ids(device_t *, usb_standard_device_descriptor_t *);
 
-int hcd_ddf_enable_interrupt(hc_device_t *hcd, int);
-int hcd_ddf_get_registers(hc_device_t *hcd, hw_res_list_parsed_t *hw_res);
+errno_t hcd_ddf_enable_interrupt(hc_device_t *hcd, int);
+errno_t hcd_ddf_get_registers(hc_device_t *hcd, hw_res_list_parsed_t *hw_res);
 
 void hcd_ddf_gen_irq_handler(ipc_callid_t iid, ipc_call_t *call, ddf_dev_t *dev);
Index: uspace/lib/usbhost/include/usb/host/hcd.h
===================================================================
--- uspace/lib/usbhost/include/usb/host/hcd.h	(revision 132ab5d1e75253f9bae910b2748a4c13efe7e71f)
+++ uspace/lib/usbhost/include/usb/host/hcd.h	(revision 55958412df6b000da41325bf219018aabc44bde9)
@@ -108,5 +108,5 @@
 }
 
-int hc_driver_main(const hc_driver_t *);
+extern errno_t hc_driver_main(const hc_driver_t *);
 
 #endif
Index: uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
===================================================================
--- uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h	(revision 132ab5d1e75253f9bae910b2748a4c13efe7e71f)
+++ uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h	(revision 55958412df6b000da41325bf219018aabc44bde9)
@@ -83,5 +83,5 @@
 
 	/** Indicates success/failure of the communication */
-	int error;
+	errno_t error;
 } usb_transfer_batch_t;
 
Index: uspace/lib/usbhost/include/usb/host/utils/malloc32.h
===================================================================
--- uspace/lib/usbhost/include/usb/host/utils/malloc32.h	(revision 132ab5d1e75253f9bae910b2748a4c13efe7e71f)
+++ uspace/lib/usbhost/include/usb/host/utils/malloc32.h	(revision 55958412df6b000da41325bf219018aabc44bde9)
@@ -59,5 +59,5 @@
 {
 	uintptr_t result;
-	int ret = as_get_physical_mapping(addr, &result);
+	errno_t ret = as_get_physical_mapping(addr, &result);
 	
 	if (ret != EOK)
@@ -78,5 +78,5 @@
 	size_t real_size = ALIGN_UP(size, PAGE_SIZE);
 
-	const int ret = dmamem_map_anonymous(real_size,
+	const errno_t ret = dmamem_map_anonymous(real_size,
 	    DMAMEM_4GiB, AS_AREA_READ | AS_AREA_WRITE, 0, &phys,
 	    &address);
