libpcap: properly fix fPIC handling (reverts $(FPIC) added in r26999)
[openwrt.git] / package / libpcap / patches / 202-protocol_api.patch
index 6d59b49..892aeb7 100644 (file)
        return (p);
  }
  
-@@ -318,6 +320,15 @@ pcap_set_buffer_size(pcap_t *p, int buff
+@@ -317,6 +319,15 @@ pcap_set_buffer_size(pcap_t *p, int buff
+       return 0;
  }
  
- int
++int
 +pcap_set_protocol(pcap_t *p, unsigned short proto)
 +{
 +      if (pcap_check_activated(p))
 +      return 0;
 +}
 +
-+int
+ int
  pcap_activate(pcap_t *p)
  {
-       int status;
 --- a/pcap/pcap.h
 +++ b/pcap/pcap.h
 @@ -68,6 +68,7 @@ extern "C" {
This page took 0.027033 seconds and 4 git commands to generate.