diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-03-29 01:12:11 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-03-29 01:12:11 +0000 |
commit | 3d0dfe269d9f4b46ab3f0d07c026ae3fccf4338a (patch) | |
tree | e224cbe0a64ed2cc49f95d457bd0a158c019ec99 /include/libiberty.h | |
parent | 7b1cc37781c2f9d9fad7553e8047c8da7c03b895 (diff) | |
download | fsf-binutils-gdb-3d0dfe269d9f4b46ab3f0d07c026ae3fccf4338a.zip fsf-binutils-gdb-3d0dfe269d9f4b46ab3f0d07c026ae3fccf4338a.tar.gz fsf-binutils-gdb-3d0dfe269d9f4b46ab3f0d07c026ae3fccf4338a.tar.bz2 |
* libiberty.h (ffs): Declare, if necessary.
Diffstat (limited to 'include/libiberty.h')
-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 a064210..f1d4f46 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -138,6 +138,13 @@ extern char *libiberty_concat_ptr; extern int fdmatch (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. */ +#if defined (HAVE_DECL_FFS) && !HAVE_DECL_FFS +extern int ffs(int); +#endif + /* Get the working directory. The result is cached, so don't call chdir() between calls to getpwd(). */ |