diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-04-23 10:46:32 +0200 |
---|---|---|
committer | Ludovic Rousseau <ludovic.rousseau+github@gmail.com> | 2013-04-23 11:15:39 +0200 |
commit | 2790e8f2b0f24381d5c9a89368ecea4ab95db8de (patch) | |
tree | 2378cddab3a7f3d8c7172eb11e1b4ab08e003b9f /libusb/libusb.h | |
parent | 4ca748f654727b8a0bcdd0bd4df3cc94d0f43d3a (diff) | |
download | libusb-2790e8f2b0f24381d5c9a89368ecea4ab95db8de.tar.gz |
libusb.h: Correct errors in doxygen comment for struct libusb_device
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>
Diffstat (limited to 'libusb/libusb.h')
-rw-r--r-- | libusb/libusb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/libusb.h b/libusb/libusb.h index 3613864..13fb9a6 100644 --- a/libusb/libusb.h +++ b/libusb/libusb.h @@ -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 |