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
|
#ifndef lint
|
||||||
static const char rcsid[] _U_ =
|
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
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
@ -53,6 +53,10 @@ extern int _w32_ffs (int mask);
|
||||||
#define ffs _w32_ffs
|
#define ffs _w32_ffs
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(WIN32) && defined (_MSC_VER)
|
||||||
|
int ffs(int mask);
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Represents a deleted instruction.
|
* Represents a deleted instruction.
|
||||||
*/
|
*/
|
||||||
|
|
Reference in New Issue