Windows: remove useless extern declaration
authorLudovic Rousseau <ludovic.rousseau@gmail.com>
Sat, 16 Feb 2013 16:04:59 +0000 (17:04 +0100)
committerLudovic Rousseau <ludovic.rousseau+github@gmail.com>
Mon, 18 Feb 2013 17:30:09 +0000 (18:30 +0100)
libusb/os/windows_usb.c:45:13: warning: redundant redeclaration of 'usbi_fd_notification' [-Wredundant-decls]
libusb/libusbi.h:420:6: note: previous declaration of 'usbi_fd_notification' was here

libusb/os/windows_usb.c
libusb/version_nano.h

index f52a1ca..f104ded 100644 (file)
@@ -42,8 +42,6 @@
 #define LOOP_CHECK(fcall) { r=fcall; if (r != LIBUSB_SUCCESS) continue; }
 #define LOOP_BREAK(err) { r=err; continue; }
 
-extern void usbi_fd_notification(struct libusb_context *ctx);
-
 // Helper prototypes
 static int windows_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian);
 static int windows_clock_gettime(int clk_id, struct timespec *tp);
index 018a6d2..43e2c45 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10610
+#define LIBUSB_NANO 10611