Sync config and libiberty with GCC
[deliverable/binutils-gdb.git] / libiberty / ffs.c
index 8ffb03e7c5e2ab762e43797c4a3a36057b28b770..603cbe8ed994536776e2031b7afa6ca521e54ecc 100644 (file)
@@ -1,20 +1,17 @@
 /* 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
-ffs (valu)
-  register int valu;
+ffs (register int valu)
 {
   register int bit;
 
This page took 0.031937 seconds and 4 git commands to generate.