From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by dpdk.org (Postfix) with ESMTP id EB56C6942 for ; Sat, 21 Mar 2015 04:23:40 +0100 (CET) Received: by pabxg6 with SMTP id xg6so114623932pab.0 for ; Fri, 20 Mar 2015 20:23:40 -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=TqajgAiWW5mpI1WB5/vjfBk6wmBttHEZb7YmI/nChomk40bAnRvT2wHGpgogdbcb9/ OkfdFqiQCAIACrlG4j0NUnI5Un9lnvLUl2rpB20g64Ut3R6C+2mODFUY2Y/zeJgHuSm2 YzX/7/jNUn+GWQVFta14eT8l8Q9Ic0UeekAlVCSC1nW7LWkqlT8XCGdmJZn1muMZVL24 JM6thfPvs+W0MD0hVvSzid0iVnrsDvTZ5aK7bbAwOLIokoAihQ+mt+Gt1AAbu1JW8ANK NFeRiV8ZjxvVyC9bIRNIjLDUvK/I7zLExi7O4ujvVZFMYuAa2QhYCIjlycDUelIx6jYK wqbg== X-Gm-Message-State: ALoCoQkLveg6QpFesySw/LC4j/TPgEWeiYVuBPrb4BlaJLNQj9y+oCcKq0D2ZRecazl4N3NorPTo X-Received: by 10.68.248.8 with SMTP id yi8mr1840470pbc.56.1426908220360; Fri, 20 Mar 2015 20:23:40 -0700 (PDT) Received: from localhost (7c295ef2.i-revonet.jp. [124.41.94.242]) by mx.google.com with ESMTPSA id ed5sm453279pbd.19.2015.03.20.20.23.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2015 20:23:39 -0700 (PDT) From: Takuya ASADA To: dev@dpdk.org Date: Sat, 21 Mar 2015 12:23:01 +0900 Message-Id: <1426908185-27940-5-git-send-email-syuu@cloudius-systems.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426908185-27940-1-git-send-email-syuu@cloudius-systems.com> References: <1426194348-4406-1-git-send-email-syuu@cloudius-systems.com> <1426908185-27940-1-git-send-email-syuu@cloudius-systems.com> Subject: [dpdk-dev] [RFC PATCHv2 4/8] 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: Sat, 21 Mar 2015 03:23:41 -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