Index: uspace/lib/usbdev/include/usb/dev/hub.h
===================================================================
--- uspace/lib/usbdev/include/usb/dev/hub.h	(revision 6e3c00597c8370c902914c8528e2d7eebd7aa5c6)
+++ uspace/lib/usbdev/include/usb/dev/hub.h	(revision 8375d0ebbd973defd24cf49d77c4c2f6567323e9)
@@ -35,4 +35,5 @@
  * For class specific requests, see usb/classes/hub.h.
  */
+
 #ifndef LIBUSBDEV_HUB_H_
 #define LIBUSBDEV_HUB_H_
@@ -43,5 +44,5 @@
 #include <usb/hc.h>
 
-int usb_hc_new_device_wrapper(ddf_dev_t *, usb_hc_connection_t *, usb_speed_t,
+extern int usb_hc_new_device_wrapper(ddf_dev_t *, usb_hc_connection_t *, usb_speed_t,
     int (*)(void *), void *, usb_address_t *, ddf_dev_ops_t *, void *,
     ddf_fun_t **);
@@ -60,5 +61,5 @@
 } usb_hub_attached_device_t;
 
-int usb_hub_register_device(usb_hc_connection_t *,
+extern int usb_hub_register_device(usb_hc_connection_t *,
     const usb_hub_attached_device_t *);
 
@@ -69,8 +70,10 @@
 	if (attached_device == NULL)
 		return EBADMEM;
+	
 	return usb_hc_release_address(conn, attached_device->address);
 }
 
 #endif
+
 /**
  * @}
