diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-16 20:12:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-16 20:12:30 -0700 |
commit | 7b1c65faa27f5ade3915e4bbc9186b6e64d2d6ec (patch) | |
tree | 0553fca441aec63d5f17cd647301551c6a515833 /net/core/skbuff.c | |
parent | 885a4c966bcc11a1470c2b85a90360f6518a507a (diff) | |
download | op-kernel-dev-7b1c65faa27f5ade3915e4bbc9186b6e64d2d6ec.zip op-kernel-dev-7b1c65faa27f5ade3915e4bbc9186b6e64d2d6ec.tar.gz |
net: make __skb_splice_bits static
net/core/skbuff.c:1335:5: warning: symbol '__skb_splice_bits' was not declared. Should it be static?
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r-- | net/core/skbuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 48a4372..e411567 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -1332,7 +1332,7 @@ static inline int __splice_segment(struct page *page, unsigned int poff, * Map linear and fragment data from the skb to spd. It reports failure if the * pipe is full or if we already spliced the requested length. */ -int __skb_splice_bits(struct sk_buff *skb, unsigned int *offset, +static int __skb_splice_bits(struct sk_buff *skb, unsigned int *offset, unsigned int *len, struct splice_pipe_desc *spd) { |