libpcap: update to current upstream version 1.5.3
[openwrt-github/.git] / package / libs / libpcap / patches / 201-space_optimization.patch
index f3eec4c839af3dfe2c3ca5cf256f0e91c9b319fd..ee3cd3b8586f3e9601f83c80c24dc9a023c3f404 100644 (file)
@@ -1,6 +1,6 @@
 --- a/gencode.c
 +++ b/gencode.c
-@@ -491,20 +491,6 @@ pcap_compile_nopcap(int snaplen_arg, int
+@@ -511,20 +511,6 @@ pcap_compile_nopcap(int snaplen_arg, int
  }
  
  /*
@@ -23,7 +23,7 @@
   * back to another unresolved block (or nil).  At least one of the fields
 --- a/pcap.c
 +++ b/pcap.c
-@@ -748,6 +748,59 @@ static const u_char charmap[] = {
+@@ -1075,6 +1075,59 @@ static const u_char charmap[] = {
        (u_char)'\374', (u_char)'\375', (u_char)'\376', (u_char)'\377',
  };
  
@@ -85,7 +85,7 @@
  {
 --- a/optimize.c
 +++ b/optimize.c
-@@ -2292,45 +2292,6 @@ icode_to_fcode(root, lenp)
+@@ -2193,45 +2193,6 @@ icode_to_fcode(struct block *root, u_int
        return fp;
  }
  
 -
  #ifdef BDEBUG
  static void
- opt_dump(root)
+ opt_dump(struct block *root)