]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* include/libiberty.h (ffs): Declare.
authorMark Mitchell <mark@codesourcery.com>
Mon, 28 Mar 2005 20:26:13 +0000 (20:26 +0000)
committerMark Mitchell <mark@codesourcery.com>
Mon, 28 Mar 2005 20:26:13 +0000 (20:26 +0000)
include/libiberty.h

index 4df814092c539aba67b2bd731fcff272c07c808d..797339e6c37cc549a969145a7c24df9b536fabe3 100644 (file)
@@ -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().  */