/*
* 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;