aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/random.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-05-06 17:28:12 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-05-06 16:29:00 +0000
commit4a251d0a9c6a6a5981b6bc6500994fa9b8f1c43c (patch)
tree71c103981c8d1528e7d410cb84380bf0f2f18e72 /src/vppinfra/random.c
parent2c4acdd8d47a14867d9658debc674323efc78323 (diff)
vppinfra: fix tests
Type: fix Change-Id: If59a66aae658dd35dbcb4987ab00c306b3c6e2e2 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/random.c')
-rw-r--r--src/vppinfra/random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vppinfra/random.c b/src/vppinfra/random.c
index f16f3960eca..56362a839b6 100644
--- a/src/vppinfra/random.c
+++ b/src/vppinfra/random.c
@@ -61,8 +61,8 @@ u32 standalone_random_default_seed = 1;
* @return d - Pearson's X2 test statistic
*/
-f64
-clib_chisquare (u64 * values)
+__clib_export f64
+clib_chisquare (u64 *values)
{
u32 i, len;
f64 d, delta_d, actual_frequency, expected_frequency;