From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B08781288 for ; Tue, 20 Jan 2015 10:18:18 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 20 Jan 2015 01:18:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,432,1418112000"; d="scan'208";a="672705700" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 20 Jan 2015 01:18:16 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t0K9IGJf032581 for ; Tue, 20 Jan 2015 09:18:16 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t0K9IGvT010739 for ; Tue, 20 Jan 2015 09:18:16 GMT Received: (from pdelarax@localhost) by sivswdev02.ir.intel.com with id t0K9IF4g010735 for dev@dpdk.org; Tue, 20 Jan 2015 09:18:15 GMT From: Pablo de Lara To: dev@dpdk.org Date: Tue, 20 Jan 2015 09:18:15 +0000 Message-Id: <1421745495-10702-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1421675742.286701346@f175.i.mail.ru> References: <1421675742.286701346@f175.i.mail.ru> Subject: [dpdk-dev] [PATCH] power: added missing extern keyword in rte_power.h X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2015 09:18:19 -0000 rte_power_freq_min function did not include "extern" keyword, causing linking errors. Signed-off-by: Pablo de Lara Reported-by: Ildar Mustafin --- lib/librte_power/rte_power.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/librte_power/rte_power.h b/lib/librte_power/rte_power.h index 9338069..7d57359 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 } -- 1.7.4.1