$NetBSD: patch-aa,v 1.1 2006/04/26 01:52:18 wulf Exp $ --- src/misc/misc.h.orig 2006-04-26 10:32:02.000000000 +0930 +++ src/misc/misc.h 2006-04-26 10:31:20.000000000 +0930 @@ -104,25 +104,6 @@ /* ---------------------------------------------------------------------- */ /* - * Integer base-2 logarithm - */ -extern inline int log2(unsigned int x) -{ - int y = 0; - - x >>= 1; - - while (x) { - x >>= 1; - y++; - } - - return y; -} - -/* ---------------------------------------------------------------------- */ - -/* * Gray encoding and decoding (8 bit) */ extern inline unsigned char grayencode(unsigned char data)