From: Pablo de Lara <pablo.de.lara.guarch@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH] power: added missing extern keyword in rte_power.h
Date: Tue, 20 Jan 2015 09:18:15 +0000 [thread overview]
Message-ID: <1421745495-10702-1-git-send-email-pablo.de.lara.guarch@intel.com> (raw)
In-Reply-To: <1421675742.286701346@f175.i.mail.ru>
rte_power_freq_min function did not include "extern" keyword,
causing linking errors.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Reported-by: Ildar Mustafin <imustafin@bk.ru>
---
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
next prev parent reply other threads:[~2015-01-20 9:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 13:55 [dpdk-dev] librte_power/rte_power.h causes link error Ильдар Мустафин
2015-01-19 15:47 ` Thomas Monjalon
2015-01-20 9:18 ` Pablo de Lara [this message]
2015-01-27 11:48 ` [dpdk-dev] [PATCH] power: added missing extern keyword in rte_power.h Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421745495-10702-1-git-send-email-pablo.de.lara.guarch@intel.com \
--to=pablo.de.lara.guarch@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).