libusb.h: Add comma after last value in enums to ease future expansion
authorPeter Stuge <peter@stuge.se>
Sun, 19 Feb 2012 05:58:16 +0000 (06:58 +0100)
committerPeter Stuge <peter@stuge.se>
Sun, 19 Feb 2012 05:58:16 +0000 (06:58 +0100)
libusb/libusb.h

index ba1104d..15e8698 100644 (file)
@@ -228,7 +228,7 @@ enum libusb_descriptor_type {
        LIBUSB_DT_PHYSICAL = 0x23,
 
        /** Hub descriptor */
-       LIBUSB_DT_HUB = 0x29
+       LIBUSB_DT_HUB = 0x29,
 };
 
 /* Descriptor sizes per descriptor type */
@@ -312,7 +312,7 @@ enum libusb_standard_request {
        LIBUSB_REQUEST_SET_INTERFACE = 0x0B,
 
        /** Set then report an endpoint's synchronization frame */
-       LIBUSB_REQUEST_SYNCH_FRAME = 0x0C
+       LIBUSB_REQUEST_SYNCH_FRAME = 0x0C,
 };
 
 /** \ingroup misc
@@ -348,7 +348,7 @@ enum libusb_request_recipient {
        LIBUSB_RECIPIENT_ENDPOINT = 0x02,
 
        /** Other */
-       LIBUSB_RECIPIENT_OTHER = 0x03
+       LIBUSB_RECIPIENT_OTHER = 0x03,
 };
 
 #define LIBUSB_ISO_SYNC_TYPE_MASK              0x0C
@@ -387,7 +387,7 @@ enum libusb_iso_usage_type {
        LIBUSB_ISO_USAGE_TYPE_FEEDBACK = 1,
 
        /** Implicit feedback Data endpoint */
-       LIBUSB_ISO_USAGE_TYPE_IMPLICIT = 2
+       LIBUSB_ISO_USAGE_TYPE_IMPLICIT = 2,
 };
 
 /** \ingroup desc
@@ -755,7 +755,7 @@ enum libusb_error {
           when adding new error codes here. */
 
        /** Other error */
-       LIBUSB_ERROR_OTHER = -99
+       LIBUSB_ERROR_OTHER = -99,
 };
 
 /** \ingroup asyncio
@@ -782,7 +782,7 @@ enum libusb_transfer_status {
        LIBUSB_TRANSFER_NO_DEVICE,
 
        /** Device sent more data than requested */
-       LIBUSB_TRANSFER_OVERFLOW
+       LIBUSB_TRANSFER_OVERFLOW,
 };
 
 /** \ingroup asyncio
@@ -798,7 +798,7 @@ enum libusb_transfer_flags {
         * If this flag is set, it is illegal to call libusb_free_transfer()
         * from your transfer callback, as this will result in a double-free
         * when this flag is acted upon. */
-       LIBUSB_TRANSFER_FREE_TRANSFER = 1<<2
+       LIBUSB_TRANSFER_FREE_TRANSFER = 1<<2,
 };
 
 /** \ingroup asyncio