GNU Binutils with patches for OS216
Révision | 60774f9f72edf3b70540892f7a5936dd4f93554b (tree) |
---|---|
l'heure | 2005-03-29 05:06:59 |
Auteur | Mark Mitchell <mark@code...> |
Commiter | Mark Mitchell |
* include/libiberty.h (ffs): Declare.
@@ -1,5 +1,9 @@ | ||
1 | 1 | 2005-03-28 Mark Mitchell <mark@codesourcery.com> |
2 | 2 | |
3 | + * include/libiberty.h (ffs): Declare. | |
4 | + | |
5 | +2005-03-28 Mark Mitchell <mark@codesourcery.com> | |
6 | + | |
3 | 7 | * gdb/ser-tcp.c (net_read_prim): Use recv unconditionally. |
4 | 8 | (net_write_prim): Use send unconditionally. |
5 | 9 | * gdb/configure.ac: Do not check for send and recv. |
@@ -140,6 +140,13 @@ extern char *libiberty_concat_ptr; | ||
140 | 140 | |
141 | 141 | extern int fdmatch PARAMS ((int fd1, int fd2)); |
142 | 142 | |
143 | +/* Return the position of the first bit set in the argument. */ | |
144 | +/* Prototypes vary from system to system, so we only provide a | |
145 | + prototype on systems where we know that we need it. */ | |
146 | +#ifdef __MINGW32__ | |
147 | +extern int ffs(int); | |
148 | +#endif | |
149 | + | |
143 | 150 | /* Get the working directory. The result is cached, so don't call |
144 | 151 | chdir() between calls to getpwd(). */ |
145 | 152 |