From 16d6343fcbd64bb38ac49ec1336b30db6035d315 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 28 Mar 2005 20:06:59 +0000 Subject: * include/libiberty.h (ffs): Declare. --- ChangeLog.csl | 4 ++++ include/libiberty.h | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog.csl b/ChangeLog.csl index 8c710325968..c3a862b090c 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,7 @@ +2005-03-28 Mark Mitchell + + * include/libiberty.h (ffs): Declare. + 2005-03-28 Mark Mitchell * gdb/ser-tcp.c (net_read_prim): Use recv unconditionally. diff --git a/include/libiberty.h b/include/libiberty.h index 49a2fb6fd52..d068d3deb54 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(). */ -- cgit v1.2.1