projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ld-x86-64: Pass options to linker with "-Wl,"
[binutils-gdb.git]
/
libiberty
/
ffs.c
diff --git
a/libiberty/ffs.c
b/libiberty/ffs.c
index 8ffb03e7c5e2ab762e43797c4a3a36057b28b770..603cbe8ed994536776e2031b7afa6ca521e54ecc 100644
(file)
--- a/
libiberty/ffs.c
+++ b/
libiberty/ffs.c
@@
-1,20
+1,17
@@
/* ffs -- Find the first bit set in the parameter
/* ffs -- Find the first bit set in the parameter
-NAME
- ffs -- Find the first bit set in the parameter
+@deftypefn Supplemental int ffs (int @var{valu})
-SYNOPSIS
- int ffs (int valu)
+Find the first (least significant) bit set in @var{valu}. Bits are
+numbered from right to left, starting with bit 1 (corresponding to the
+value 1). If @var{valu} is zero, zero is returned.
-DESCRIPTION
- Find the first bit set in the parameter. Bits are numbered from
- right to left, starting with bit 1.
+@end deftypefn
*/
int
*/
int
-ffs (valu)
- register int valu;
+ffs (register int valu)
{
register int bit;
{
register int bit;