Skip to contentSkip to conversation

net: make __skb_splice_bits static

PATCH Applied Harvey Harrison 2 participants 2 messages Jul 16, 2008 – Jul 17, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: make __skb_splice_bits static

net/core/skbuff.c:1335:5: warning: symbol '__skb_splice_bits' was not declared. Should it be static?

---
Appeared between next-20080715->next-20080716

 net/core/skbuff.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/core/skbuff.c +1 -1
index 48a4372..e411567 100644
@@ -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)
 {
Signature · 1 line
1.5.6.3.499.geae9