diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2001-07-05 10:09:22 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2001-07-05 10:09:22 +0000 |
commit | 50549aff55be61754ae5f0d122d4a46e81618888 (patch) | |
tree | 626753cb305c9bc331a2885cdd4dac5cd1b16181 | |
parent | 377ac4698579ade5d4127152ce7fa45453c9b433 (diff) | |
download | FreeBSD-src-50549aff55be61754ae5f0d122d4a46e81618888.zip FreeBSD-src-50549aff55be61754ae5f0d122d4a46e81618888.tar.gz |
Make the string argument a const.
-rw-r--r-- | sys/dev/usb/ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index c2abcd8..686f59c 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -195,7 +195,7 @@ Static void ohci_device_isoc_done (usbd_xfer_handle); Static usbd_status ohci_device_setintr(ohci_softc_t *sc, struct ohci_pipe *pipe, int ival); -Static int ohci_str(usb_string_descriptor_t *, int, char *); +Static int ohci_str(usb_string_descriptor_t *, int, const char *); Static void ohci_timeout(void *); Static void ohci_rhsc_able(ohci_softc_t *, int); @@ -2002,7 +2002,7 @@ Static int ohci_str(p, l, s) usb_string_descriptor_t *p; int l; - char *s; + const char *s; { int i; |