diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-29 01:10:31 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-29 01:10:31 +0000 |
commit | 5cc697d9bf6b875ab8769f7ead6d5d52d00ce363 (patch) | |
tree | d10731acadf1375b3e8289fa5ac89741e9147958 /include/libiberty.h | |
parent | a867e506a6c2e1d2b36444f1adacf9db95230e0b (diff) | |
download | ppe42-gcc-5cc697d9bf6b875ab8769f7ead6d5d52d00ce363.tar.gz ppe42-gcc-5cc697d9bf6b875ab8769f7ead6d5d52d00ce363.zip |
* libiberty.h (ffs): Declare, if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97147 138bc75d-0d04-0410-961f-82ee72b054a4
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 a0642103726..f1d4f464afb 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(). */ |