* libiberty.h (ffs): Declare, if necessary.

This commit is contained in:
Mark Mitchell 2005-03-29 01:12:11 +00:00
parent 7b1cc37781
commit 3d0dfe269d
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-03-28 Mark Mitchell <mark@codesourcery.com>
* libiberty.h (ffs): Declare, if necessary.
2005-03-27 Gabriel Dos Reis <gdr@integreable-solutions.net> 2005-03-27 Gabriel Dos Reis <gdr@integreable-solutions.net>
* ternary.h: Don't use PARAMS anymore. * ternary.h: Don't use PARAMS anymore.

View file

@ -138,6 +138,13 @@ extern char *libiberty_concat_ptr;
extern int fdmatch (int fd1, int fd2); 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 /* Get the working directory. The result is cached, so don't call
chdir() between calls to getpwd(). */ chdir() between calls to getpwd(). */