summaryrefslogtreecommitdiff
path: root/libusb/os/windows_winusb.h
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2018-01-03 23:12:50 -0800
committerChris Dickens <christopher.a.dickens@gmail.com>2018-01-03 23:27:33 -0800
commit3f69af86769c98931061357e0f96aea4c349b5cb (patch)
treee40c284f7a267c1740aa2a543fef18cf22337f9f /libusb/os/windows_winusb.h
parentc4438b3c7b2e1db0be8d5fe5eab08756367135d6 (diff)
downloadlibusb-3f69af86769c98931061357e0f96aea4c349b5cb.tar.gz
Windows: Constify variables that aren't supposed to change
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/os/windows_winusb.h')
-rw-r--r--libusb/os/windows_winusb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/windows_winusb.h b/libusb/os/windows_winusb.h
index 6a7a909..6d9c3cd 100644
--- a/libusb/os/windows_winusb.h
+++ b/libusb/os/windows_winusb.h
@@ -94,8 +94,8 @@ const GUID GUID_DEVINTERFACE_LIBUSB0_FILTER = {0xF9F3FF14, 0xAE21, 0x48A0, {0x8A
struct windows_usb_api_backend {
const uint8_t id;
- const char *designation;
- const char **driver_name_list; // Driver name, without .sys, e.g. "usbccgp"
+ const char * const designation;
+ const char * const * const driver_name_list; // Driver name, without .sys, e.g. "usbccgp"
const uint8_t nb_driver_names;
int (*init)(struct libusb_context *ctx);
void (*exit)(void);