Description: Remove private definition of log2() function
  use the function provided by the C library instead
Bug-Debian: http://bugs/debian.org/552835
Author: Jakub Wilk <jwilk@debian.org>

Index: ent/randtest.c
===================================================================
--- ent.orig/randtest.c	2015-06-13 16:38:24.869929304 +0200
+++ ent/randtest.c	2015-06-13 16:40:00.569692637 +0200
@@ -7,13 +7,12 @@
 
 */
 
+#define _ISOC99_SOURCE
 #include <math.h>
 
 #define FALSE 0
 #define TRUE  1
 
-#define log2of10 3.32192809488736234787
-
 static int binary = FALSE;	   /* Treat input as a bitstream */
 
 static long ccount[256],	   /* Bins to count occurrences of values */
@@ -22,10 +21,7 @@
 
 /*  RT_LOG2  --  Calculate log to the base 2  */
 
-static double rt_log2(double x)
-{
-    return log2of10 * log10(x);
-}
+#define rt_log2 log2
 
 #define MONTEN	6		      /* Bytes used as Monte Carlo
 					 co-ordinates.	This should be no more
