Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-03-29 05:12:11 +0400
committerMark Mitchell <mark@codesourcery.com>2005-03-29 05:12:11 +0400
commitae6cf546a747606f938d933c32cf560e8c700e04 (patch)
tree448ae776e38f18ddb206632e6517b0efcb6bd6c6 /include/libiberty.h
parent68d96be7767a520e03724ddadd254b2a26756bb8 (diff)
* libiberty.h (ffs): Declare, if necessary.
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index a06421037..f1d4f464a 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(). */