Its presence on the function prototype in the header file is enough. Fixes: 5f4ed3f05849 ("eal: introduce random generator with upper bound") Cc: Mattias Rönnblom <mattias.ronnb...@ericsson.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarg...@6wind.com> --- lib/librte_eal/common/rte_random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/rte_random.c b/lib/librte_eal/common/rte_random.c index 3d9b9b7d8..f85119048 100644 --- a/lib/librte_eal/common/rte_random.c +++ b/lib/librte_eal/common/rte_random.c @@ -137,7 +137,7 @@ rte_rand(void) return __rte_rand_lfsr258(state); } -uint64_t __rte_experimental +uint64_t rte_rand_max(uint64_t upper_bound) { struct rte_rand_state *state; -- 2.11.0