diff options
| author | David S. Miller <davem@nuts.davemloft.net> | 2004-09-08 18:37:36 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-09-08 18:37:36 -0700 |
| commit | cc982e41f47548d64206cfde677c83929e8efa10 (patch) | |
| tree | 03b506600903d08757b8395d4af579440cb9fa64 | |
| parent | 746f0d39d54f6fd364a3c7729cc459195bbe884d (diff) | |
[TCP]: Do not export tcp_transmit_skb().
Unused outside of tcp_output.c
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | include/net/tcp.h | 1 | ||||
| -rw-r--r-- | net/ipv4/tcp_output.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 1a8a317f2bd5..38a454669bad 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -954,7 +954,6 @@ extern int tcp_write_wakeup(struct sock *); extern void tcp_send_fin(struct sock *sk); extern void tcp_send_active_reset(struct sock *sk, int priority); extern int tcp_send_synack(struct sock *); -extern int tcp_transmit_skb(struct sock *, struct sk_buff *); extern void tcp_push_one(struct sock *, unsigned mss_now); extern void tcp_send_ack(struct sock *sk); extern void tcp_send_delayed_ack(struct sock *sk); diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 36a345ece94c..69215d75fba7 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -257,7 +257,7 @@ static __inline__ u16 tcp_select_window(struct sock *sk) * We are working here with either a clone of the original * SKB, or a fresh unique copy made by the retransmit engine. */ -int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb) +static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb) { if (skb != NULL) { struct inet_opt *inet = inet_sk(sk); @@ -1624,6 +1624,5 @@ EXPORT_SYMBOL(tcp_make_synack); EXPORT_SYMBOL(tcp_send_synack); EXPORT_SYMBOL(tcp_simple_retransmit); EXPORT_SYMBOL(tcp_sync_mss); -EXPORT_SYMBOL(tcp_transmit_skb); EXPORT_SYMBOL(tcp_write_wakeup); EXPORT_SYMBOL(tcp_write_xmit); |
