linux-cp: API downgrade due to namespace keyword
[vpp.git] / src / vppinfra / random.c
index ea89f0a..56362a8 100644 (file)
@@ -37,7 +37,8 @@
 
 #include <vppinfra/random.h>
 
-/** \file Random number support
+/** \file random.c
+    Random number support
  */
 
 /** \brief Default random seed for standalone version of library.
@@ -60,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;