diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-03-28 20:26:13 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-03-28 20:26:13 +0000 |
commit | 5b85129a45be8e0c75d2b9db70ac63dd64cd7db3 (patch) | |
tree | 5ef4bd4c0af60b07eabc257fd4e50dd38296aefa | |
parent | eeec8951610a9c0541fe75b6ffe2bc71178d46b6 (diff) | |
download | binutils-gdb-5b85129a45be8e0c75d2b9db70ac63dd64cd7db3.tar.gz |
* include/libiberty.h (ffs): Declare.
-rw-r--r-- | include/libiberty.h | 7 |
1 files changed, 7 insertions, 0 deletions
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(). */ |