patch-2.1.38 linux/include/linux/skbuff.h
Next file: linux/include/linux/slab.h
Previous file: linux/include/linux/sched.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Thu May 15 15:52:10 1997
- Orig file:
v2.1.37/linux/include/linux/skbuff.h
- Orig date:
Tue May 13 22:41:19 1997
diff -u --recursive --new-file v2.1.37/linux/include/linux/skbuff.h linux/include/linux/skbuff.h
@@ -413,13 +413,15 @@
restore_flags(flags);
}
+extern const char skb_put_errstr[];
+extern const char skb_push_errstr[];
+
/*
* Add data to an sk_buff
*/
extern __inline__ unsigned char *skb_put(struct sk_buff *skb, unsigned int len)
{
- extern char *skb_put_errstr;
unsigned char *tmp=skb->tail;
skb->tail+=len;
skb->len+=len;
@@ -434,7 +436,6 @@
extern __inline__ unsigned char *skb_push(struct sk_buff *skb, unsigned int len)
{
- extern char *skb_push_errstr;
skb->data-=len;
skb->len+=len;
if(skb->data<skb->head)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov