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 42F78C36C for ; Mon, 6 Apr 2015 20:58:39 +0200 (CEST) Received: by pdbnk13 with SMTP id nk13so53060650pdb.0 for ; Mon, 06 Apr 2015 11:58:38 -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=Yr3UjxBEhut/ujCbclOlSKUYsRj8upxO7H+OQmVdDOC1rDZw86Ut+rJX57pqAPGAjE qhuoB7q54EjeBPWr2GGn7CM89iiBDMuKC2eA1mlltpMnMK0DM5Nq49sjc/kyN3gX1pFo cMy2iqcd9Rgc473OQWrZgBO/K1Huc3MdhXBRYI1w/DJuYFQMigujQXsj9G4qXofEWz91 yshWeP07IH+hWu8DK9rMJpAFidKWQBbY0gANyCLVxzaMYWO4JM5XOhNrm1IinT9WCP2+ Y+NyBW4Py0A2YaC0GzxLp0X+rryaLmBQUZiOC45AqX7RI8BeiZDSD/o2n/IkbXYK7yZh 0Q3A== X-Gm-Message-State: ALoCoQlUwAnN8NyGgDTOrqdWpV6+SuVm78o2Qa94ud4sq2QwRD6vatKbn/34i2IK76pzDHZlf4mT X-Received: by 10.66.147.103 with SMTP id tj7mr29959436pab.85.1428346718659; Mon, 06 Apr 2015 11:58:38 -0700 (PDT) Received: from localhost (7c295ef2.i-revonet.jp. [124.41.94.242]) by mx.google.com with ESMTPSA id mt11sm5447429pbc.20.2015.04.06.11.58.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Apr 2015 11:58:37 -0700 (PDT) From: Takuya ASADA To: dev@dpdk.org Date: Tue, 7 Apr 2015 03:58:08 +0900 Message-Id: <1428346691-14894-5-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 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: Mon, 06 Apr 2015 18:58:39 -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