summaryrefslogtreecommitdiff
blob: 5f20a5a45595310ae0bf52322e33dbf972265be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
--- tcpdump-3.8.3/configure.gcc34	2004-03-23 19:59:23.000000000 +0100
+++ tcpdump-3.8.3/configure	2004-03-30 14:56:21.469869618 +0200
@@ -8917,18 +8917,10 @@
 int
 main ()
 {
-
-int
-return_pcap_debug(void)
-{
 	extern int pcap_debug;
 
 	return pcap_debug;
 }
-
-  ;
-  return 0;
-}
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
@@ -8976,17 +8968,9 @@
 int
 main ()
 {
-
-	int
-	return_yydebug(void)
-	{
 		extern int yydebug;
 
 		return yydebug;
-	}
-
-  ;
-  return 0;
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
diff --exclude='*~' --exclude='.*' -I '$Id:' -urN tcpdump-3.8.3.orig/print-fr.c tcpdump-3.8.3/print-fr.c
--- tcpdump-3.8.3.orig/print-fr.c	2005-05-14 05:53:15.000000000 -0400
+++ tcpdump-3.8.3/print-fr.c	2005-05-14 05:58:21.000000000 -0400
@@ -213,7 +213,7 @@
 		return caplen;
 	}
 
-	if (parse_q922_addr(p, &dlci, &addr_len, &flags)) {
+	if (parse_q922_addr(p, &dlci, (u_int *)&addr_len, &flags)) {
 		printf("Invalid Q.922 address");
 		return caplen;
 	}
diff --exclude='*~' --exclude='.*' -I '$Id:' -urN tcpdump-3.8.3.orig/print-radius.c tcpdump-3.8.3/print-radius.c
--- tcpdump-3.8.3.orig/print-radius.c	2005-05-14 05:53:15.000000000 -0400
+++ tcpdump-3.8.3/print-radius.c	2005-05-14 05:59:13.000000000 -0400
@@ -842,7 +842,7 @@
      }
      /* do we want to see an additionally hexdump ? */
      if (vflag> 1 && rad_attr->len >= 2)
-         print_unknown_data((char *)rad_attr+2,"\n\t    ",(rad_attr->len)-2);
+         print_unknown_data((u_char *)rad_attr+2,"\n\t    ",(rad_attr->len)-2);
 
      length-=(rad_attr->len);
      rad_attr = (struct radius_attr *)( ((char *)(rad_attr))+rad_attr->len);
diff --exclude='*~' --exclude='.*' -I '$Id:' -urN tcpdump-3.8.3.orig/print-telnet.c tcpdump-3.8.3/print-telnet.c
--- tcpdump-3.8.3.orig/print-telnet.c	2005-05-14 05:53:15.000000000 -0400
+++ tcpdump-3.8.3/print-telnet.c	2005-05-14 06:00:16.000000000 -0400
@@ -244,7 +244,7 @@
 		if (Xflag && 2 < vflag) {
 			if (first)
 				printf("\nTelnet:");
-			hex_print_with_offset("\n", sp, l, sp - osp);
+			hex_print_with_offset((u_char *)"\n", sp, l, sp - osp);
 			if (l > 8)
 				printf("\n\t\t\t\t");
 			else
diff --exclude='*~' --exclude='.*' -I '$Id:' -urN tcpdump-3.8.3.orig/tcpdump.c tcpdump-3.8.3/tcpdump.c
--- tcpdump-3.8.3.orig/tcpdump.c	2005-05-14 05:53:15.000000000 -0400
+++ tcpdump-3.8.3/tcpdump.c	2005-05-14 06:00:50.000000000 -0400
@@ -1071,7 +1071,7 @@
 void
 default_print(register const u_char *bp, register u_int length)
 {
-    ascii_print("\n\t", bp, length); /* pass on lf and identation string */
+    ascii_print((u_char *)"\n\t", bp, length); /* pass on lf and identation string */
 }
 
 #ifdef SIGINFO
diff --exclude='*~' --exclude='.*' -I '$Id:' -urN tcpdump-3.8.3.orig/util.c tcpdump-3.8.3/util.c
--- tcpdump-3.8.3.orig/util.c	2005-05-14 05:53:15.000000000 -0400
+++ tcpdump-3.8.3/util.c	2005-05-14 06:01:31.000000000 -0400
@@ -201,7 +201,7 @@
 int
 print_unknown_data(const u_char *cp,const char *ident,int len)
 {
-        hex_print(ident,cp,len);
+        hex_print((u_char *)ident,cp,len);
 	return(1); /* everything is ok */
 }