net: Properly define functions with no parameters
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 10 Jul 2012 10:54:38 +0000 (10:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jul 2012 06:13:45 +0000 (23:13 -0700)
commita55b138b1da3d25c04f66f8df03d659dfd46c950
tree3f30fa64e1d96bbd2e07fc6fbfb7f9adf6ea12ca
parentfdd28d7328f4c3ddf77ba163e257d7dc48392767
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>
drivers/net/cris/eth_v10.c
net/core/dev.c