patch-2.4.22 linux-2.4.22/include/net/tcp.h
Next file: linux-2.4.22/include/video/fbcon.h
Previous file: linux-2.4.22/include/net/snmp.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/net/tcp.h
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.21/include/net/tcp.h linux-2.4.22/include/net/tcp.h
@@ -600,19 +600,19 @@
* and worry about wraparound (automatic with unsigned arithmetic).
*/
-extern __inline int before(__u32 seq1, __u32 seq2)
+static inline int before(__u32 seq1, __u32 seq2)
{
return (__s32)(seq1-seq2) < 0;
}
-extern __inline int after(__u32 seq1, __u32 seq2)
+static inline int after(__u32 seq1, __u32 seq2)
{
return (__s32)(seq2-seq1) < 0;
}
/* is s2<=s1<=s3 ? */
-extern __inline int between(__u32 seq1, __u32 seq2, __u32 seq3)
+static inline int between(__u32 seq1, __u32 seq2, __u32 seq3)
{
return seq3 - seq2 >= seq1 - seq2;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)