From: Mark Mitchell Date: Mon, 28 Mar 2005 20:26:13 +0000 (+0000) Subject: * include/libiberty.h (ffs): Declare. X-Git-Tag: binutils-csl-arm-2005q1a~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b85129a45be8e0c75d2b9db70ac63dd64cd7db3;p=thirdparty%2Fbinutils-gdb.git * include/libiberty.h (ffs): Declare. --- diff --git a/include/libiberty.h b/include/libiberty.h index 4df814092c5..797339e6c37 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -140,6 +140,13 @@ extern char *libiberty_concat_ptr; extern int fdmatch PARAMS ((int fd1, int fd2)); +/* Return the position of the first bit set in the argument. */ +/* Prototypes vary from system to system, so we only provide a + prototype on systems where we know that we need it. */ +#ifdef __MINGW32__ +extern int ffs(int); +#endif + /* Get the working directory. The result is cached, so don't call chdir() between calls to getpwd(). */