aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-12-29 11:39:51 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-29 16:34:24 -0500
commitf7e56a76acf642d21a8e7bd587e270ae7addc4db (patch)
tree8b0f96fd78a2c24e217b26e092004edcbc9261c2 /net/ipv4/tcp_input.c
parentnet/7990: Make lance_private.name const (diff)
downloadlinux-dev-f7e56a76acf642d21a8e7bd587e270ae7addc4db.tar.xz
linux-dev-f7e56a76acf642d21a8e7bd587e270ae7addc4db.zip
tcp: make local functions static
The following are only used in one file: tcp_connect_init tcp_set_rto Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index f75cf15b2c87..65cf90e063d5 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -766,7 +766,7 @@ static void tcp_update_pacing_rate(struct sock *sk)
/* Calculate rto without backoff. This is the second half of Van Jacobson's
* routine referred to above.
*/
-void tcp_set_rto(struct sock *sk)
+static void tcp_set_rto(struct sock *sk)
{
const struct tcp_sock *tp = tcp_sk(sk);
/* Old crap is replaced with new one. 8)