aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_cue.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-12-08 07:54:15 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-12-08 07:54:15 +0000
commita55a017f42cd3f75d68f3a79b0a8f051b37435b8 (patch)
treea76375ea757ab61d6de7a0c5ec2362d2e15d403f /sys/dev/usb/if_cue.c
parenta5b5101f5eb625051381e7cd74ec05aa5f431842 (diff)
downloadsrc-a55a017f42cd3f75d68f3a79b0a8f051b37435b8.tar.gz
src-a55a017f42cd3f75d68f3a79b0a8f051b37435b8.zip
Don't use caddr_t in mchash(). Also use C99 spellings over BSD ones.
Requested by: bde,imp
Notes
Notes: svn path=/head/; revision=123289
Diffstat (limited to 'sys/dev/usb/if_cue.c')
-rw-r--r--sys/dev/usb/if_cue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c
index a9420bdd86c1..e4b5ce840462 100644
--- a/sys/dev/usb/if_cue.c
+++ b/sys/dev/usb/if_cue.c
@@ -330,9 +330,9 @@ cue_getmac(struct cue_softc *sc, void *buf)
Static uint32_t
cue_mchash(const uint8_t *addr)
{
- uint32_t crc;
- int idx, bit;
- uint8_t data;
+ uint32_t crc;
+ int idx, bit;
+ uint8_t data;
/* Compute CRC for the address value. */
crc = 0xFFFFFFFF; /* initial value */