diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-11-15 09:44:49 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 06:23:47 +0100 |
commit | 078250d68d883495f31d0e6ce8321292f2dc1cfa (patch) | |
tree | b8047d96bfa0aef0d0a1b0709d9545aceef00de9 /net/ipv4 | |
parent | [IPV6]: udp.c build fix (diff) | |
download | linux-078250d68d883495f31d0e6ce8321292f2dc1cfa.tar.xz linux-078250d68d883495f31d0e6ce8321292f2dc1cfa.zip |
[NET/IPv4]: Make udp_push_pending_frames static
udp_push_pending_frames is only referenced within
net/ipv4/udp.c and hence can remain static.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index dc19ba1e73b5..7eb76fbf1b4b 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -448,7 +448,7 @@ static void udp4_hwcsum_outgoing(struct sock *sk, struct sk_buff *skb, /* * Push out all pending data as one UDP datagram. Socket is locked. */ -int udp_push_pending_frames(struct sock *sk, struct udp_sock *up) +static int udp_push_pending_frames(struct sock *sk, struct udp_sock *up) { struct inet_sock *inet = inet_sk(sk); struct flowi *fl = &inet->cork.fl; |