Fix typo in exit() function signature
authorjonner <jonathon@quotidian.org>
Thu, 27 Jul 2017 20:28:48 +0000 (15:28 -0500)
committerChris Dickens <christopher.a.dickens@gmail.com>
Thu, 27 Jul 2017 21:29:09 +0000 (14:29 -0700)
This typo caused a bunch of compile warnings about incompatible pointer types.

Closes #327

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/libusbi.h
libusb/version_nano.h

index 9a545aa..ac57312 100644 (file)
@@ -614,7 +614,7 @@ struct usbi_os_backend {
         *
         * This function is called when the user deinitializes the library.
         */
-       void (*exit)(struct libusb_contex *ctx);
+       void (*exit)(struct libusb_context *ctx);
 
        /* Set a backend-specific option. Optional.
         *
index e7e53ae..6f34b27 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11213
+#define LIBUSB_NANO 11214