forked from Lainports/freebsd-ports
Fix the build with recent GCC.
Reported by: pointyhat
This commit is contained in:
parent
b579519222
commit
b07e9c32dc
1 changed files with 19 additions and 0 deletions
19
net/tcpview/files/patch-print_tcp.c
Normal file
19
net/tcpview/files/patch-print_tcp.c
Normal file
|
|
@ -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;
|
||||
Loading…
Add table
Reference in a new issue