Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic const fall-out, from Patrick Welche



details:   https://anonhg.NetBSD.org/src/rev/88b2ec21c017
branches:  trunk
changeset: 581461:88b2ec21c017
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jun 01 19:40:58 2005 +0000

description:
const fall-out, from Patrick Welche

diffstat:

 sys/dev/ic/sl811hs.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 1db97175184c -r 88b2ec21c017 sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Wed Jun 01 19:38:13 2005 +0000
+++ b/sys/dev/ic/sl811hs.c      Wed Jun 01 19:40:58 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hs.c,v 1.5 2005/02/27 00:27:02 perry Exp $        */
+/*     $NetBSD: sl811hs.c,v 1.6 2005/06/01 19:40:58 drochner Exp $     */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.5 2005/02/27 00:27:02 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.6 2005/06/01 19:40:58 drochner Exp $");
 
 #include "opt_slhci.h"
 
@@ -85,7 +85,7 @@
 static usbd_xfer_handle slhci_allocx(struct usbd_bus *);
 static void            slhci_freex(struct usbd_bus *, usbd_xfer_handle);
 
-static int             slhci_str(usb_string_descriptor_t *, int, char *);
+static int             slhci_str(usb_string_descriptor_t *, int, const char *);
 
 static usbd_status     slhci_root_ctrl_transfer(usbd_xfer_handle);
 static usbd_status     slhci_root_ctrl_start(usbd_xfer_handle);
@@ -153,7 +153,7 @@
 
 
 /* XXX: sync with argument */
-static char *sltypestr [] = {
+static const char *sltypestr [] = {
        "SL11H/T",
        "SL811HS/T",
 };
@@ -682,7 +682,7 @@
 };
 
 static int
-slhci_str(usb_string_descriptor_t *p, int l, char *s)
+slhci_str(usb_string_descriptor_t *p, int l, const char *s)
 {
        int i;
 



Home | Main Index | Thread Index | Old Index