From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by dpdk.org (Postfix) with ESMTP id 8D758C352 for ; Mon, 6 Apr 2015 20:58:32 +0200 (CEST) Received: by pdbni2 with SMTP id ni2so52980783pdb.1 for ; Mon, 06 Apr 2015 11:58:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mkCdDaXNglXhomPkW1zdbZjd3Y5JovTXBbogbkfMKd8=; b=LL1kdUwYOPwHHREq/G3dclcIblrY7TPXYMlDhSsc5zSBTla4gyzDXoSrlmFkBXt8B3 XT6jiEMiAW1LnAXonKNXOWpCuSeMskolZdkBMPjBQ/rFdnXSSSqVcG+S9Dod6NaqXXNn h3wSDSGF7SXO0LCGoBHKzIH/k9ihpoNxibPPFDgEC5qIMdeGprjHqZsOanWJDMdL663c pVU65jfwSXlHrWqZN8a3nNEJTiItgN+mdkn+qqNr6shb3/OCmjmgEB6hkQA04GZG99wi Zp8ed5hfSHS+2v+sAOdAgqBoJtc6NqVBIvaNPe+x0RtHBDM2VDncEfWhS9do5bv1xn4a jo3g== X-Gm-Message-State: ALoCoQksPB++xuePIFFqfgWk6MXkGY0V828YQTi2Uv4QPv7+CDw4gt+dIoxIzXq94yGZVaNUGqpj X-Received: by 10.70.49.35 with SMTP id r3mr10227951pdn.22.1428346711994; Mon, 06 Apr 2015 11:58:31 -0700 (PDT) Received: from localhost (7c295ef2.i-revonet.jp. [124.41.94.242]) by mx.google.com with ESMTPSA id jc9sm5435647pbd.54.2015.04.06.11.58.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Apr 2015 11:58:31 -0700 (PDT) From: Takuya ASADA To: dev@dpdk.org Date: Tue, 7 Apr 2015 03:58:06 +0900 Message-Id: <1428346691-14894-3-git-send-email-syuu@cloudius-systems.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1428346691-14894-1-git-send-email-syuu@cloudius-systems.com> References: <1428346691-14894-1-git-send-email-syuu@cloudius-systems.com> Subject: [dpdk-dev] [RFC PATCHv3 2/7] eal: Add extern C on eal_hugepages.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: Mon, 06 Apr 2015 18:58:33 -0000 This is required to link with OSv EAL. Signed-off-by: Takuya ASADA --- lib/librte_eal/common/eal_hugepages.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/librte_eal/common/eal_hugepages.h b/lib/librte_eal/common/eal_hugepages.h index 38edac0..b722aee 100644 --- a/lib/librte_eal/common/eal_hugepages.h +++ b/lib/librte_eal/common/eal_hugepages.h @@ -34,6 +34,10 @@ #ifndef EAL_HUGEPAGES_H #define EAL_HUGEPAGES_H +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include @@ -64,4 +68,8 @@ struct hugepage_file { */ int eal_hugepage_info_init(void); +#ifdef __cplusplus +} +#endif + #endif /* EAL_HUGEPAGES_H */ -- 2.1.0