Added the prototype for ffs() when using the VC compiler.
This commit is contained in:
parent
cb7780ffe0
commit
132dd9a83b
|
@ -22,7 +22,7 @@
|
|||
*/
|
||||
#ifndef lint
|
||||
static const char rcsid[] _U_ =
|
||||
"@(#) $Header: /tcpdump/master/libpcap/optimize.c,v 1.89 2007-09-12 21:29:13 guy Exp $ (LBL)";
|
||||
"@(#) $Header: /tcpdump/master/libpcap/optimize.c,v 1.90 2007-09-27 18:01:51 gianluca Exp $ (LBL)";
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -53,6 +53,10 @@ extern int _w32_ffs (int mask);
|
|||
#define ffs _w32_ffs
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) && defined (_MSC_VER)
|
||||
int ffs(int mask);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Represents a deleted instruction.
|
||||
*/
|
||||
|
|
Reference in New Issue