diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-07-10 12:54:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-11 08:13:45 +0200 |
commit | a55b138b1da3d25c04f66f8df03d659dfd46c950 (patch) | |
tree | 3f30fa64e1d96bbd2e07fc6fbfb7f9adf6ea12ca /drivers/net/cris | |
parent | Merge branch 'metrics_restructure' (diff) | |
download | linux-a55b138b1da3d25c04f66f8df03d659dfd46c950.tar.xz linux-a55b138b1da3d25c04f66f8df03d659dfd46c950.zip |
net: Properly define functions with no parameters
Defining a function with no parameters as 'T foo()' is the deprecated
K&R style, and is not strictly equivalent to defining it as 'T foo(void)'.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cris')
-rw-r--r-- | drivers/net/cris/eth_v10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cris/eth_v10.c b/drivers/net/cris/eth_v10.c index 9c755db6b16d..f0c8bd54ce29 100644 --- a/drivers/net/cris/eth_v10.c +++ b/drivers/net/cris/eth_v10.c @@ -1008,7 +1008,7 @@ e100_send_mdio_bit(unsigned char bit) } static unsigned char -e100_receive_mdio_bit() +e100_receive_mdio_bit(void) { unsigned char bit; *R_NETWORK_MGM_CTRL = 0; |