diff options
author | Joe Perches <joe@perches.com> | 2013-09-22 10:32:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-23 01:51:09 -0400 |
commit | f6982299f273b827c8fe80c4c34e9fcdf95af20d (patch) | |
tree | 230f6e2bb1841425c3ea467bc942a05e768fa465 /include | |
parent | 69336bd2d3ddce315dc57be894e4b57a91036a14 (diff) | |
download | linux-f6982299f273b827c8fe80c4c34e9fcdf95af20d.tar.bz2 |
stp.h: Remove extern from function prototypes
There are a mix of function prototypes with and without extern
in the kernel sources. Standardize on not using extern for
function prototypes.
Function prototypes don't need to be written with extern.
extern is assumed by the compiler. Its use is as unnecessary as
using auto to declare automatic/local variables in a block.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/stp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/stp.h b/include/net/stp.h index ad447f105417..3af174d70d9e 100644 --- a/include/net/stp.h +++ b/include/net/stp.h @@ -8,7 +8,7 @@ struct stp_proto { void *data; }; -extern int stp_proto_register(const struct stp_proto *proto); -extern void stp_proto_unregister(const struct stp_proto *proto); +int stp_proto_register(const struct stp_proto *proto); +void stp_proto_unregister(const struct stp_proto *proto); #endif /* _NET_STP_H */ |