Files
pkgsrc-ng/ham/gmfsk/patches/patch-ab
2013-09-26 17:14:40 +02:00

29 lines
512 B
Plaintext

$NetBSD: patch-ab,v 1.1 2006/04/26 01:52:18 wulf Exp $
--- src/misc/misc.c.orig 2006-04-26 10:31:03.000000000 +0930
+++ src/misc/misc.c 2006-04-26 10:31:31.000000000 +0930
@@ -102,23 +102,6 @@
/* ---------------------------------------------------------------------- */
-/*
- * Integer base-2 logarithm
- */
-int log2(unsigned int x)
-{
- int y = 0;
-
- x >>= 1;
-
- while (x) {
- x >>= 1;
- y++;
- }
-
- return y;
-}
-
/* ---------------------------------------------------------------------- */
/*