libusb.h: Correct errors in doxygen comment for struct libusb_device
authorHans de Goede <hdegoede@redhat.com>
Tue, 23 Apr 2013 08:46:32 +0000 (10:46 +0200)
committerLudovic Rousseau <ludovic.rousseau+github@gmail.com>
Tue, 23 Apr 2013 09:15:39 +0000 (11:15 +0200)
The comment refers to the non-existing libusb_device_ref and
libusb_device_unref functions, this should be libusb_ref_device resp.
libusb_unref_device.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/libusb.h
libusb/version_nano.h

index 3613864..13fb9a6 100644 (file)
@@ -733,8 +733,8 @@ typedef struct libusb_context libusb_context;
  * Certain operations can be performed on a device, but in order to do any
  * I/O you will have to first obtain a device handle using libusb_open().
  *
- * Devices are reference counted with libusb_device_ref() and
- * libusb_device_unref(), and are freed when the reference count reaches 0.
+ * Devices are reference counted with libusb_ref_device() and
+ * libusb_unref_device(), and are freed when the reference count reaches 0.
  * New devices presented by libusb_get_device_list() have a reference count of
  * 1, and libusb_free_device_list() can optionally decrease the reference count
  * on all devices in the list. libusb_open() adds another reference which is
index df354c4..eb67d32 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10647
+#define LIBUSB_NANO 10648