aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/llc_s_ac.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-21 13:22:45 -0400
committerDavid S. Miller <davem@davemloft.net>2013-09-21 14:01:38 -0400
commitbf3c710f71a6144bd4d3bb9efb91099863debfb8 (patch)
treee368955a8903bac06d9759ce898514db5e51c551 /include/net/llc_s_ac.h
parentcb7d3d71e986067d19d991d75bff07ca304c9084 (diff)
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_s_ac.h')
-rw-r--r--include/net/llc_s_ac.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/include/net/llc_s_ac.h b/include/net/llc_s_ac.h
index 37a3bbd02394..a61b98c108ee 100644
--- a/include/net/llc_s_ac.h
+++ b/include/net/llc_s_ac.h
@@ -25,15 +25,13 @@
25/* All action functions must look like this */ 25/* All action functions must look like this */
26typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb); 26typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
27 27
28extern int llc_sap_action_unitdata_ind(struct llc_sap *sap, 28int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb);
29 struct sk_buff *skb); 29int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
30extern int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb); 30int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
31extern int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb); 31int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
32extern int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb); 32int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
33extern int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb); 33int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
34extern int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb); 34int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb);
35extern int llc_sap_action_report_status(struct llc_sap *sap, 35int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
36 struct sk_buff *skb); 36int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb);
37extern int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
38extern int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb);
39#endif /* LLC_S_AC_H */ 37#endif /* LLC_S_AC_H */