Made darwin_hotplug_poll static to fix Xcode warning
authorSean McBride <sean@rogue-research.com>
Wed, 21 May 2014 14:11:25 +0000 (10:11 -0400)
committerNathan Hjelm <hjelmn@me.com>
Wed, 11 Jun 2014 00:58:11 +0000 (18:58 -0600)
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
libusb/os/darwin_usb.c
libusb/version_nano.h

index 9bd183e..dd5bbc5 100644 (file)
@@ -309,7 +309,7 @@ static void darwin_devices_detached (void *ptr, io_iterator_t rem_devices) {
   usbi_mutex_unlock(&active_contexts_lock);
 }
 
-void darwin_hotplug_poll (void)
+static void darwin_hotplug_poll (void)
 {
   /* not sure if 5 seconds will be too long/short but it should work ok */
   mach_timespec_t timeout = {.tv_sec = 5, .tv_nsec = 0};
index c03c6df..41df46b 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10901
+#define LIBUSB_NANO 10902