summaryrefslogtreecommitdiff
path: root/comms/gmfsk/files/patch-src_misc_misc.c
blob: 9796be1e2b7d9407967b6e5c61761f2ecd638818 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/misc/misc.c.orig	2004-04-13 05:49:04.000000000 -0700
+++ src/misc/misc.c	2014-06-21 02:32:50.000000000 -0700
@@ -101,7 +101,7 @@
 }
 
 /* ---------------------------------------------------------------------- */
-
+#ifndef FBSD_HAS_LOG2
 /*
  * Integer base-2 logarithm
  */
@@ -118,7 +118,7 @@
 
 	return y;
 }
-
+#endif
 /* ---------------------------------------------------------------------- */
 
 /*