]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-null.c
pcap_create_interface() needs the interface name on Linux.
[libpcap] / pcap-null.c
index 20f6f3eeed7d5a66ebb30304a0b0151d9624757b..b5fa3ab91fabfc576a22796e402ab9728ecd6d8b 100644 (file)
@@ -36,7 +36,7 @@
 static char nosup[] = "live packet capture not supported on this system";
 
 pcap_t *
-pcap_create_interface(const char *device, char *ebuf)
+pcap_create_interface(const char *device _U_, char *ebuf)
 {
        (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
        return (NULL);