]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
net: make __skb_splice_bits static
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 17 Jul 2008 03:12:30 +0000 (20:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2008 03:12:30 +0000 (20:12 -0700)
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>
net/core/skbuff.c

index 48a43727d12f80db2a52b838322534855fb53ae5..e4115672b6cfb1094de109c3fd56db796fc3741b 100644 (file)
@@ -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)
 {