From 06fbfe5c17fe8eff11d45a79a97692abb4ca6737 Mon Sep 17 00:00:00 2001 From: yamt Date: Sat, 8 Jan 2005 03:16:51 +0000 Subject: [PATCH] constify. --- sys/dev/usb/if_cue.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index 06f4c9f772d3..f20f1d5065b1 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_cue.c,v 1.41 2004/04/23 17:25:25 itojun Exp $ */ +/* $NetBSD: if_cue.c,v 1.42 2005/01/08 03:16:51 yamt Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 * Bill Paul . All rights reserved. @@ -56,7 +56,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_cue.c,v 1.41 2004/04/23 17:25:25 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_cue.c,v 1.42 2005/01/08 03:16:51 yamt Exp $"); #if defined(__NetBSD__) #include "opt_inet.h" @@ -163,7 +163,7 @@ Static void cue_stop(struct cue_softc *); Static void cue_watchdog(struct ifnet *); Static void cue_setmulti(struct cue_softc *); -Static u_int32_t cue_crc(caddr_t); +Static u_int32_t cue_crc(const char *); Static void cue_reset(struct cue_softc *); Static int cue_csr_read_1(struct cue_softc *, int); @@ -364,7 +364,7 @@ cue_getmac(struct cue_softc *sc, void *buf) #define CUE_BITS 9 Static u_int32_t -cue_crc(caddr_t addr) +cue_crc(const char *addr) { u_int32_t idx, bit, data, crc;