diff options
author | Joe Perches <joe@perches.com> | 2013-09-21 19:22:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-21 20:01:38 +0200 |
commit | bf3c710f71a6144bd4d3bb9efb91099863debfb8 (patch) | |
tree | e368955a8903bac06d9759ce898514db5e51c551 /include/net/llc_if.h | |
parent | lapb.h: Remove extern from function prototypes (diff) | |
download | linux-bf3c710f71a6144bd4d3bb9efb91099863debfb8.tar.xz linux-bf3c710f71a6144bd4d3bb9efb91099863debfb8.zip |
llc*.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/net/llc_if.h')
-rw-r--r-- | include/net/llc_if.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/net/llc_if.h b/include/net/llc_if.h index f0cb909b60eb..8d5c543cd620 100644 --- a/include/net/llc_if.h +++ b/include/net/llc_if.h @@ -62,8 +62,7 @@ #define LLC_STATUS_CONFLICT 7 /* disconnect conn */ #define LLC_STATUS_RESET_DONE 8 /* */ -extern int llc_establish_connection(struct sock *sk, u8 *lmac, - u8 *dmac, u8 dsap); -extern int llc_build_and_send_pkt(struct sock *sk, struct sk_buff *skb); -extern int llc_send_disc(struct sock *sk); +int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap); +int llc_build_and_send_pkt(struct sock *sk, struct sk_buff *skb); +int llc_send_disc(struct sock *sk); #endif /* LLC_IF_H */ |