/*
* Sherlock Library -- Binary Logarithm
*
- * (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
+ * (c) 1997 Martin Mares <mj@ucw.cz>
*/
-#include <stdio.h>
-
-#include "lib.h"
+#include "lib/lib.h"
#undef log2
int
-log2(ulg x)
+log2(u32 x)
{
- ulg l;
+ uns l;
if (!x)
return 0;