summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_vegas.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-10-18 13:48:24 -0700
committerDavid S. Miller <davem@davemloft.net>2013-10-19 19:12:11 -0400
commit7e58487b8cf5871d2a0fa03892dbd4b3a620d07f (patch)
tree2cd2e2e7e8732a23628872b1fc1779d86c39b0b5 /net/ipv4/tcp_vegas.h
parenta402a5aa9b4cbb42cc41bf573d2e5c4713541af0 (diff)
downloadop-kernel-dev-7e58487b8cf5871d2a0fa03892dbd4b3a620d07f.zip
op-kernel-dev-7e58487b8cf5871d2a0fa03892dbd4b3a620d07f.tar.gz
net: ipv4/ipv6: 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 'net/ipv4/tcp_vegas.h')
-rw-r--r--net/ipv4/tcp_vegas.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv4/tcp_vegas.h b/net/ipv4/tcp_vegas.h
index 6c0eea2..0531b99 100644
--- a/net/ipv4/tcp_vegas.h
+++ b/net/ipv4/tcp_vegas.h
@@ -15,10 +15,10 @@ struct vegas {
u32 baseRTT; /* the min of all Vegas RTT measurements seen (in usec) */
};
-extern void tcp_vegas_init(struct sock *sk);
-extern void tcp_vegas_state(struct sock *sk, u8 ca_state);
-extern void tcp_vegas_pkts_acked(struct sock *sk, u32 cnt, s32 rtt_us);
-extern void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event);
-extern void tcp_vegas_get_info(struct sock *sk, u32 ext, struct sk_buff *skb);
+void tcp_vegas_init(struct sock *sk);
+void tcp_vegas_state(struct sock *sk, u8 ca_state);
+void tcp_vegas_pkts_acked(struct sock *sk, u32 cnt, s32 rtt_us);
+void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event);
+void tcp_vegas_get_info(struct sock *sk, u32 ext, struct sk_buff *skb);
#endif /* __TCP_VEGAS_H */
OpenPOWER on IntegriCloud