[TCP]: Make tcp_splice_data_recv() static.
authorAdrian Bunk <bunk@kernel.org>
Wed, 7 Nov 2007 07:32:26 +0000 (23:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:53:32 +0000 (14:53 -0800)
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c

index 56ed40703f98872c43837e3e00452f845d76e478..e055f25876dfae248e0b84c6d64c44357fb21382 100644 (file)
@@ -515,8 +515,8 @@ static inline void tcp_push(struct sock *sk, int flags, int mss_now,
        }
 }
 
-int tcp_splice_data_recv(read_descriptor_t *rd_desc, struct sk_buff *skb,
-                        unsigned int offset, size_t len)
+static int tcp_splice_data_recv(read_descriptor_t *rd_desc, struct sk_buff *skb,
+                               unsigned int offset, size_t len)
 {
        struct tcp_splice_state *tss = rd_desc->arg.data;