summaryrefslogtreecommitdiff
path: root/libusb/os/darwin_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/os/darwin_usb.c')
-rw-r--r--libusb/os/darwin_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c
index 9bd183e..dd5bbc5 100644
--- a/libusb/os/darwin_usb.c
+++ b/libusb/os/darwin_usb.c
@@ -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};