From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by dpdk.org (Postfix) with ESMTP id D830E5FEB for ; Thu, 12 Mar 2015 22:06:08 +0100 (CET) Received: by pdbfl12 with SMTP id fl12so23047576pdb.5 for ; Thu, 12 Mar 2015 14:06:08 -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=e4rvj2s/LzrGkiLmn/s7OpIRz2KzWW4HNE1dUuAWFEM=; b=NW919PMwe9kUd2LjCRjvQy7/J26j+IiFFzY3uuwOcsCmf/pjhdu0yzBSuSDOQg9wi1 AM7DuGlvXODJtzGNo/zYSkkgcpDfPHilS2yBPtlqcs983xT5tZngPMFBU7D7CUzl2+AV 6xNRc0eghAVbCzt/WkFxftbVYpl62ALZ/PFa8TvG42gMVCb6z/8q9XPdXSM4EPlStlwj z93GoWA0R3QQpDWpuxopMqVbeqIuaxgZp5NY6OYHjSkqyVq2sxdb5FKDk/k3c41ysjqa kKdbKblmsmHI3+GkaUNaEM5BLvmjZxkJoARHubZFNLgmOGIvZcMnO2SM1D6BIWy4wL9x Amfg== X-Gm-Message-State: ALoCoQmuQEZIk7QS2NARU/xW51C/blfGWmXhZacMl1w7qo9gynVqTdTC0UbRmP8Hqii63EtQA1DE X-Received: by 10.70.23.69 with SMTP id k5mr92605287pdf.68.1426194368194; Thu, 12 Mar 2015 14:06:08 -0700 (PDT) Received: from localhost (7c295ef2.i-revonet.jp. [124.41.94.242]) by mx.google.com with ESMTPSA id o4sm25520pdh.6.2015.03.12.14.06.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2015 14:06:07 -0700 (PDT) From: Takuya ASADA To: dev@dpdk.org Date: Fri, 13 Mar 2015 06:05:45 +0900 Message-Id: <1426194348-4406-5-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 4/7] eal: Add extern C on eal_private.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:09 -0000 This is required to link with OSv EAL. Signed-off-by: Takuya ASADA --- lib/librte_eal/common/eal_private.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/librte_eal/common/eal_private.h b/lib/librte_eal/common/eal_private.h index 4acf5a0..80b3d44 100644 --- a/lib/librte_eal/common/eal_private.h +++ b/lib/librte_eal/common/eal_private.h @@ -34,6 +34,10 @@ #ifndef _EAL_PRIVATE_H_ #define _EAL_PRIVATE_H_ +#ifdef __cplusplus +extern "C" { +#endif + #include /** @@ -232,4 +236,8 @@ int rte_eal_dev_init(void); */ int rte_eal_check_module(const char *module_name); +#ifdef __cplusplus +} +#endif + #endif /* _EAL_PRIVATE_H_ */ -- 2.1.0