From d10096c69267d2118ba7ecfe13d1b5627dbe538f Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Tue, 20 Jan 2015 09:18:15 +0000 Subject: [PATCH] power: fix link with application rte_power_freq_min function did not include "extern" keyword, causing linking errors. Fixes: 445c6528b55f ("power: common interface for guest and host") Reported-by: Ildar Mustafin Signed-off-by: Pablo de Lara Acked-by: Thomas Monjalon --- lib/librte_power/rte_power.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_power/rte_power.h b/lib/librte_power/rte_power.h index 9338069325..7d573598f2 100644 --- a/lib/librte_power/rte_power.h +++ b/lib/librte_power/rte_power.h @@ -242,7 +242,7 @@ extern rte_power_freq_change_t rte_power_freq_max; * - 0 on success without frequency changed. * - Negative on error. */ -rte_power_freq_change_t rte_power_freq_min; +extern rte_power_freq_change_t rte_power_freq_min; #ifdef __cplusplus } -- 2.20.1