From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by dpdk.org (Postfix) with ESMTP id 8832A5A85 for ; Thu, 12 Mar 2015 22:06:00 +0100 (CET) Received: by pablj1 with SMTP id lj1so23473029pab.10 for ; Thu, 12 Mar 2015 14:05:59 -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=JTwytHwBSl2lz4WgK0AGNn0nqN6sY0YoK00pdvBo5tYtHlRsqQUiA+8zjwg2hz0e97 8u0A7uWdcrVpi5Q5qZsR5W832stWiGxKj6i9IBq8yMW6eEJXqYsqZsN49crUvMEcS4gL VDxkWHgOw7yRM0kmmyK4SsbF/6YE/jaGfWbeyExKeasVYUosKX8fx3OnN2uahd8ffiaP pFpRTVcUrCSVGeAoFQ1Xg9yyUCZkEDbaceM85jiYAfk6GyTX8+rjvBt5CMBXR6g4M9cN pkjDNrUpdq9wO27MzpG9WGacCIGHkQK6T9Vxab+rRTov30hDdpmhUjkNy3NeTdd+6/GO jnPQ== X-Gm-Message-State: ALoCoQlem/7Fz3+f33d1vm4cYiJ94/AwWNsId27a+J0BHEJvK+R9cEvZCEyugAYt/gJ1iFQWC1eO X-Received: by 10.66.224.164 with SMTP id rd4mr93357666pac.12.1426194359830; Thu, 12 Mar 2015 14:05:59 -0700 (PDT) Received: from localhost (7c295ef2.i-revonet.jp. [124.41.94.242]) by mx.google.com with ESMTPSA id q4sm25375pdj.2.2015.03.12.14.05.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2015 14:05:59 -0700 (PDT) From: Takuya ASADA To: dev@dpdk.org Date: Fri, 13 Mar 2015 06:05:43 +0900 Message-Id: <1426194348-4406-3-git-send-email-syuu@cloudius-systems.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426194348-4406-1-git-send-email-syuu@cloudius-systems.com> References: <1426194348-4406-1-git-send-email-syuu@cloudius-systems.com> Subject: [dpdk-dev] [RFC PATCH 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: Thu, 12 Mar 2015 21:06:01 -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