diff options
author | 2009-01-15 07:55:22 +0000 | |
---|---|---|
committer | 2009-01-15 07:55:22 +0000 | |
commit | 363ada28e7bf654e28d4c2bcb036e3c589a1b75b (patch) | |
tree | 1dd3cbce94276c3476ec3abb3c2f75f120bc1f90 | |
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@
-rw-r--r-- | sys/dev/ic/ar5210.c | 6 | ||||
-rw-r--r-- | sys/dev/ic/ar5211.c | 6 | ||||
-rw-r--r-- | sys/dev/ic/ar5212.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/ic/ar5210.c b/sys/dev/ic/ar5210.c index 2d8270a5176..b44a33a2454 100644 --- a/sys/dev/ic/ar5210.c +++ b/sys/dev/ic/ar5210.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5210.c,v 1.43 2008/08/29 10:05:00 reyk Exp $ */ +/* $OpenBSD: ar5210.c,v 1.44 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_ar5210_nic_reset(struct ath_hal *, u_int32_t); HAL_BOOL ar5k_ar5210_nic_wakeup(struct ath_hal *, HAL_BOOL, HAL_BOOL); void ar5k_ar5210_init_tx_queue(struct ath_hal *, u_int, HAL_BOOL); -const void ar5k_ar5210_fill(struct ath_hal *); +void ar5k_ar5210_fill(struct ath_hal *); HAL_BOOL ar5k_ar5210_do_calibrate(struct ath_hal *, HAL_CHANNEL *); HAL_BOOL ar5k_ar5210_noise_floor(struct ath_hal *, HAL_CHANNEL *); @@ -40,7 +40,7 @@ static const struct ar5k_ini ar5210_ini[] = AR5K_HAL_FUNCTIONS(extern, ar5k_ar5210,); -const void +void ar5k_ar5210_fill(struct ath_hal *hal) { hal->ah_magic = AR5K_AR5210_MAGIC; diff --git a/sys/dev/ic/ar5211.c b/sys/dev/ic/ar5211.c index bd5a74dfa75..ee71c24ff6c 100644 --- a/sys/dev/ic/ar5211.c +++ b/sys/dev/ic/ar5211.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5211.c,v 1.40 2008/09/13 13:35:06 reyk Exp $ */ +/* $OpenBSD: ar5211.c,v 1.41 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_ar5211_nic_reset(struct ath_hal *, u_int32_t); HAL_BOOL ar5k_ar5211_nic_wakeup(struct ath_hal *, u_int16_t); u_int16_t ar5k_ar5211_radio_revision(struct ath_hal *, HAL_CHIP); -const void ar5k_ar5211_fill(struct ath_hal *); +void ar5k_ar5211_fill(struct ath_hal *); void ar5k_ar5211_rfregs(struct ath_hal *, HAL_CHANNEL *, u_int, u_int); @@ -44,7 +44,7 @@ static const struct ar5k_ar5211_ini_rf ar5211_rf[] = AR5K_HAL_FUNCTIONS(extern, ar5k_ar5211,); -const void +void ar5k_ar5211_fill(struct ath_hal *hal) { hal->ah_magic = AR5K_AR5211_MAGIC; 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; |