From: Pablo de Lara Date: Tue, 20 Jan 2015 09:18:15 +0000 (+0000) Subject: power: fix link with application X-Git-Tag: spdx-start~9832 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d10096c69267d2118ba7ecfe13d1b5627dbe538f;p=dpdk.git 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 --- 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 }