pcap_getnonblock_mmap() and pcap_setnonblock_mmap() declaration differs from
prototype declaration and defines them !static. This patch fix this issue.
HGN
--
Hagen Paul Pfeifer <[EMAIL PROTECTED]> || http://jauu.net/
Telephone: +49 174 5455209 || Key Id: 0x98350C22
Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22
Always in motion, the future is.
--- pcap-linux.c 2 Feb 2008 22:25:51 -0000 1.137
+++ pcap-linux.c 8 Feb 2008 00:18:55 -0000
@@ -1750,14 +1750,14 @@ pcap_close_linux_mmap( pcap_t *handle )
}
-int
+static int
pcap_getnonblock_mmap(pcap_t *p, char *errbuf)
{
/* use negative value of timeout to indicate non blocking ops */
return (p->md.timeout<0);
}
-int
+static int
pcap_setnonblock_mmap(pcap_t *p, int nonblock, char *errbuf)
{
/* map each value to the corresponding 2's complement, to
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.