diff options
author | 2009-01-15 07:55:22 +0000 | |
---|---|---|
committer | 2009-01-15 07:55:22 +0000 | |
commit | 363ada28e7bf654e28d4c2bcb036e3c589a1b75b (patch) | |
tree | 1dd3cbce94276c3476ec3abb3c2f75f120bc1f90 /sys/dev/ic/ar5212.c | |
parent | Surround WEHOLDIT() macro with braces to make it more safe. (diff) | |
download | wireguard-openbsd-363ada28e7bf654e28d4c2bcb036e3c589a1b75b.tar.xz wireguard-openbsd-363ada28e7bf654e28d4c2bcb036e3c589a1b75b.zip |
const void foo() makes no sense. No binary change.
ok niklas@ otto@
Diffstat (limited to 'sys/dev/ic/ar5212.c')
-rw-r--r-- | sys/dev/ic/ar5212.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ar5212.c b/sys/dev/ic/ar5212.c index e658b944729..54d1056f72c 100644 --- a/sys/dev/ic/ar5212.c +++ b/sys/dev/ic/ar5212.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5212.c,v 1.48 2008/09/13 13:35:06 reyk Exp $ */ +/* $OpenBSD: ar5212.c,v 1.49 2009/01/15 07:55:22 grange Exp $ */ /* * Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org> @@ -28,7 +28,7 @@ HAL_BOOL ar5k_ar5212_nic_reset(struct ath_hal *, u_int32_t); HAL_BOOL ar5k_ar5212_nic_wakeup(struct ath_hal *, u_int16_t); u_int16_t ar5k_ar5212_radio_revision(struct ath_hal *, HAL_CHIP); -const void ar5k_ar5212_fill(struct ath_hal *); +void ar5k_ar5212_fill(struct ath_hal *); HAL_BOOL ar5k_ar5212_txpower(struct ath_hal *, HAL_CHANNEL *, u_int); /* @@ -47,7 +47,7 @@ static const struct ar5k_ini ar5212_pcie[] = AR5K_AR5212_PCIE; AR5K_HAL_FUNCTIONS(extern, ar5k_ar5212,); -const void +void ar5k_ar5212_fill(struct ath_hal *hal) { hal->ah_magic = AR5K_AR5212_MAGIC; |