aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/lapb.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-21 13:22:44 -0400
committerDavid S. Miller <davem@davemloft.net>2013-09-21 14:01:38 -0400
commitcb7d3d71e986067d19d991d75bff07ca304c9084 (patch)
tree1be15d63898294deb3800e3eaffcf977fbd75c0e /include/net/lapb.h
parent9d03626a28fd8c14511c96826cb4ca2112fb7709 (diff)
lapb.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/lapb.h')
-rw-r--r--include/net/lapb.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/include/net/lapb.h b/include/net/lapb.h
index df892a94f2c6..9510f8725f03 100644
--- a/include/net/lapb.h
+++ b/include/net/lapb.h
@@ -105,40 +105,40 @@ struct lapb_cb {
105}; 105};
106 106
107/* lapb_iface.c */ 107/* lapb_iface.c */
108extern void lapb_connect_confirmation(struct lapb_cb *lapb, int); 108void lapb_connect_confirmation(struct lapb_cb *lapb, int);
109extern void lapb_connect_indication(struct lapb_cb *lapb, int); 109void lapb_connect_indication(struct lapb_cb *lapb, int);
110extern void lapb_disconnect_confirmation(struct lapb_cb *lapb, int); 110void lapb_disconnect_confirmation(struct lapb_cb *lapb, int);
111extern void lapb_disconnect_indication(struct lapb_cb *lapb, int); 111void lapb_disconnect_indication(struct lapb_cb *lapb, int);
112extern int lapb_data_indication(struct lapb_cb *lapb, struct sk_buff *); 112int lapb_data_indication(struct lapb_cb *lapb, struct sk_buff *);
113extern int lapb_data_transmit(struct lapb_cb *lapb, struct sk_buff *); 113int lapb_data_transmit(struct lapb_cb *lapb, struct sk_buff *);
114 114
115/* lapb_in.c */ 115/* lapb_in.c */
116extern void lapb_data_input(struct lapb_cb *lapb, struct sk_buff *); 116void lapb_data_input(struct lapb_cb *lapb, struct sk_buff *);
117 117
118/* lapb_out.c */ 118/* lapb_out.c */
119extern void lapb_kick(struct lapb_cb *lapb); 119void lapb_kick(struct lapb_cb *lapb);
120extern void lapb_transmit_buffer(struct lapb_cb *lapb, struct sk_buff *, int); 120void lapb_transmit_buffer(struct lapb_cb *lapb, struct sk_buff *, int);
121extern void lapb_establish_data_link(struct lapb_cb *lapb); 121void lapb_establish_data_link(struct lapb_cb *lapb);
122extern void lapb_enquiry_response(struct lapb_cb *lapb); 122void lapb_enquiry_response(struct lapb_cb *lapb);
123extern void lapb_timeout_response(struct lapb_cb *lapb); 123void lapb_timeout_response(struct lapb_cb *lapb);
124extern void lapb_check_iframes_acked(struct lapb_cb *lapb, unsigned short); 124void lapb_check_iframes_acked(struct lapb_cb *lapb, unsigned short);
125extern void lapb_check_need_response(struct lapb_cb *lapb, int, int); 125void lapb_check_need_response(struct lapb_cb *lapb, int, int);
126 126
127/* lapb_subr.c */ 127/* lapb_subr.c */
128extern void lapb_clear_queues(struct lapb_cb *lapb); 128void lapb_clear_queues(struct lapb_cb *lapb);
129extern void lapb_frames_acked(struct lapb_cb *lapb, unsigned short); 129void lapb_frames_acked(struct lapb_cb *lapb, unsigned short);
130extern void lapb_requeue_frames(struct lapb_cb *lapb); 130void lapb_requeue_frames(struct lapb_cb *lapb);
131extern int lapb_validate_nr(struct lapb_cb *lapb, unsigned short); 131int lapb_validate_nr(struct lapb_cb *lapb, unsigned short);
132extern int lapb_decode(struct lapb_cb *lapb, struct sk_buff *, struct lapb_frame *); 132int lapb_decode(struct lapb_cb *lapb, struct sk_buff *, struct lapb_frame *);
133extern void lapb_send_control(struct lapb_cb *lapb, int, int, int); 133void lapb_send_control(struct lapb_cb *lapb, int, int, int);
134extern void lapb_transmit_frmr(struct lapb_cb *lapb); 134void lapb_transmit_frmr(struct lapb_cb *lapb);
135 135
136/* lapb_timer.c */ 136/* lapb_timer.c */
137extern void lapb_start_t1timer(struct lapb_cb *lapb); 137void lapb_start_t1timer(struct lapb_cb *lapb);
138extern void lapb_start_t2timer(struct lapb_cb *lapb); 138void lapb_start_t2timer(struct lapb_cb *lapb);
139extern void lapb_stop_t1timer(struct lapb_cb *lapb); 139void lapb_stop_t1timer(struct lapb_cb *lapb);
140extern void lapb_stop_t2timer(struct lapb_cb *lapb); 140void lapb_stop_t2timer(struct lapb_cb *lapb);
141extern int lapb_t1timer_running(struct lapb_cb *lapb); 141int lapb_t1timer_running(struct lapb_cb *lapb);
142 142
143/* 143/*
144 * Debug levels. 144 * Debug levels.