aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/llc_conn.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_conn.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_conn.h')
-rw-r--r--include/net/llc_conn.h36
1 files changed, 16 insertions, 20 deletions
diff --git a/include/net/llc_conn.h b/include/net/llc_conn.h
index 2f97d8ddce92..0134681acc4c 100644
--- a/include/net/llc_conn.h
+++ b/include/net/llc_conn.h
@@ -95,28 +95,24 @@ static __inline__ char llc_backlog_type(struct sk_buff *skb)
95 return skb->cb[sizeof(skb->cb) - 1]; 95 return skb->cb[sizeof(skb->cb) - 1];
96} 96}
97 97
98extern struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, 98struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority,
99 struct proto *prot); 99 struct proto *prot);
100extern void llc_sk_free(struct sock *sk); 100void llc_sk_free(struct sock *sk);
101 101
102extern void llc_sk_reset(struct sock *sk); 102void llc_sk_reset(struct sock *sk);
103 103
104/* Access to a connection */ 104/* Access to a connection */
105extern int llc_conn_state_process(struct sock *sk, struct sk_buff *skb); 105int llc_conn_state_process(struct sock *sk, struct sk_buff *skb);
106extern void llc_conn_send_pdu(struct sock *sk, struct sk_buff *skb); 106void llc_conn_send_pdu(struct sock *sk, struct sk_buff *skb);
107extern void llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb); 107void llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb);
108extern void llc_conn_resend_i_pdu_as_cmd(struct sock *sk, u8 nr, 108void llc_conn_resend_i_pdu_as_cmd(struct sock *sk, u8 nr, u8 first_p_bit);
109 u8 first_p_bit); 109void llc_conn_resend_i_pdu_as_rsp(struct sock *sk, u8 nr, u8 first_f_bit);
110extern void llc_conn_resend_i_pdu_as_rsp(struct sock *sk, u8 nr, 110int llc_conn_remove_acked_pdus(struct sock *conn, u8 nr, u16 *how_many_unacked);
111 u8 first_f_bit); 111struct sock *llc_lookup_established(struct llc_sap *sap, struct llc_addr *daddr,
112extern int llc_conn_remove_acked_pdus(struct sock *conn, u8 nr, 112 struct llc_addr *laddr);
113 u16 *how_many_unacked); 113void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk);
114extern struct sock *llc_lookup_established(struct llc_sap *sap, 114void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk);
115 struct llc_addr *daddr,
116 struct llc_addr *laddr);
117extern void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk);
118extern void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk);
119 115
120extern u8 llc_data_accept_state(u8 state); 116u8 llc_data_accept_state(u8 state);
121extern void llc_build_offset_table(void); 117void llc_build_offset_table(void);
122#endif /* LLC_CONN_H */ 118#endif /* LLC_CONN_H */