aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-06-13 23:22:40 +0800
committerdanfe <danfe@FreeBSD.org>2007-06-13 23:22:40 +0800
commit276dc20037ea5b6303b544cdf31918b98764618f (patch)
treea6da2a3eaa1bf7322ca3d3da3cac3be11675822c /net
parent2c29e25635dc53c14990c9fa4a1060bc293b178b (diff)
downloadfreebsd-ports-gnome-276dc20037ea5b6303b544cdf31918b98764618f.tar.gz
freebsd-ports-gnome-276dc20037ea5b6303b544cdf31918b98764618f.tar.zst
freebsd-ports-gnome-276dc20037ea5b6303b544cdf31918b98764618f.zip
Fix the build with recent GCC.
Reported by: pointyhat
Diffstat (limited to 'net')
-rw-r--r--net/tcpview/files/patch-print_tcp.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/tcpview/files/patch-print_tcp.c b/net/tcpview/files/patch-print_tcp.c
new file mode 100644
index 000000000000..5460ad46c403
--- /dev/null
+++ b/net/tcpview/files/patch-print_tcp.c
@@ -0,0 +1,19 @@
+--- print-tcp.c.orig Wed Jun 13 22:18:16 2007
++++ print-tcp.c Wed Jun 13 22:18:32 2007
+@@ -410,6 +410,8 @@
+
+ /* assemble a single bidirectional stream */
+
++static int check_frags();
++
+ static void assemble( seq, len, data, syn, srcx )
+ u_long seq, len, srcx;
+ u_char *data;
+@@ -418,7 +420,6 @@
+ int i,j,first=0;
+ u_long newptr;
+ struct tcp_frag *t;
+- static int check_frags();
+
+ /* fprintf(stderr,"assemble seq=%d len=%d syn=%d src=%lx\n",seq,len,syn,srcx); */
+ i = -1;