summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-03-28 20:26:13 +0000
committerMark Mitchell <mark@codesourcery.com>2005-03-28 20:26:13 +0000
commitf6465bddc1bd94b630c1b3ed6140031a114c8faf (patch)
tree03f151c0907f4cdb05be56593465d1e9d90032a0
parente7a1fb69e5080276eeb72329b8b5889f8c823213 (diff)
downloadcygnal-f6465bddc1bd94b630c1b3ed6140031a114c8faf.tar.gz
cygnal-f6465bddc1bd94b630c1b3ed6140031a114c8faf.tar.bz2
cygnal-f6465bddc1bd94b630c1b3ed6140031a114c8faf.zip
* include/libiberty.h (ffs): Declare.
-rw-r--r--include/libiberty.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index 4df814092..797339e6c 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(). */