From Hagen Paul Pfeifer: define some routines as static, to match the
way they're declared (and the way they're intended to be).
This commit is contained in:
parent
6579f06bf1
commit
b3366dd5b4
1
CREDITS
1
CREDITS
|
@ -44,6 +44,7 @@ Additional people who have contributed patches:
|
|||
Greg Troxel <gdt at ir dot bbn dot com>
|
||||
Gregor Maier <gregor at net dot in dot tum dot de>
|
||||
Guillaume Pelat <endymion_ at users dot sourceforge dot net>
|
||||
Hagen Paul Pfeifer <hagen at jauu dot net>
|
||||
Hyung Sik Yoon <hsyn at kr dot ibm dot com>
|
||||
Igor Khristophorov <igor at atdot dot org>
|
||||
Jan-Philip Velders <jpv at veldersjes dot net>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#ifndef lint
|
||||
static const char rcsid[] _U_ =
|
||||
"@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.137 2008-02-02 22:25:51 guy Exp $ (LBL)";
|
||||
"@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.138 2008-02-08 01:34:49 guy Exp $ (LBL)";
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -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
|
||||
|
|
Reference in New Issue