]> mj.ucw.cz Git - libucw.git/blobdiff - lib/log2.c
Merged obj2buck.h and buck2obj.h to object.h, the number of includes
[libucw.git] / lib / log2.c
index 5ba257765f0690af4c4f4c2eb8c3633c25370bdb..08b27bcf8dc95aedfe70f17a1bdc45c3c8b045dc 100644 (file)
@@ -1,17 +1,16 @@
 /*
  *     Sherlock Library -- Binary Logarithm
  *
- *     (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
+ *     (c) 1997 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
-#include <stdio.h>
-
-#include "lib.h"
-
-#undef log2
+#include "lib/lib.h"
 
 int
-log2(u32 x)
+fls(u32 x)
 {
   uns l;