X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flog2.c;h=2d2764e92c5f803cdea43fece8c58071b40f5b4f;hb=d07940af96825cc49fe729f281348366a49a076a;hp=3cd983357d573dd658c58dd99786c1c6099a9812;hpb=a048770f41b23fdba09e2a70a9711f48152e6778;p=libucw.git diff --git a/lib/log2.c b/lib/log2.c index 3cd98335..2d2764e9 100644 --- a/lib/log2.c +++ b/lib/log2.c @@ -1,19 +1,17 @@ /* * Sherlock Library -- Binary Logarithm * - * (c) 1997 Martin Mares, + * (c) 1997 Martin Mares */ -#include - -#include "lib.h" +#include "lib/lib.h" #undef log2 int -log2(ulg x) +log2(u32 x) { - ulg l; + uns l; if (!x) return 0;