From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by dpdk.org (Postfix) with ESMTP id 41FDD7EEF for ; Sat, 21 Mar 2015 04:23:37 +0100 (CET) Received: by pdnc3 with SMTP id c3so126358570pdn.0 for ; Fri, 20 Mar 2015 20:23:36 -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=mowF2t0SkkQ3r5Am6MAawfphf1YmeZUXidR4zwEckpc=; b=HUNU1rI6aIJ2HONVrbKSi90F72CEChZK/k7IvNn1W5Q+Q5Lc8hUIGay0sZPNXbG99s 1ebrfYcdOoVUe5e7eGx9U8uYmRCqaCbcxbCHBlcO5/1n8hN+raYaq6+1bRJaZoJe6kEP dCHUSb8uAyntrxEvh+9qGaoB56xvuG2645aGXmjiQCXhvULOtqTKUqTJmOja1Lgtk6rP TBGsdy5cgyuttSRn+xgnWJeTtp5qZ6bf8DfUPSPpvy2aqSfYDknjQLGOWoWpn4aC7nwb 37TcpBUXJXiqfUA3QUiqpM7aEVdYCfkJcazp8YES5bjzQ7Pfi3XPtF87XE/LBBPNgat/ VuAg== X-Gm-Message-State: ALoCoQmHt3rpqvfJEIjXOrYxNnL2fyVH8ZrSIKPWoDVsnFDNxpxxhE7qDfrSDnSmicRg4iP96kY+ X-Received: by 10.70.35.101 with SMTP id g5mr190662965pdj.75.1426908216682; Fri, 20 Mar 2015 20:23:36 -0700 (PDT) Received: from localhost (7c295ef2.i-revonet.jp. [124.41.94.242]) by mx.google.com with ESMTPSA id qh6sm10123637pab.34.2015.03.20.20.23.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2015 20:23:35 -0700 (PDT) From: Takuya ASADA To: dev@dpdk.org Date: Sat, 21 Mar 2015 12:23:00 +0900 Message-Id: <1426908185-27940-4-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 3/8] eal: Add extern C on eal_thread.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:37 -0000 This is required to link with OSv EAL. Signed-off-by: Takuya ASADA --- lib/librte_eal/common/eal_thread.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/librte_eal/common/eal_thread.h b/lib/librte_eal/common/eal_thread.h index e4e76b9..794137f 100644 --- a/lib/librte_eal/common/eal_thread.h +++ b/lib/librte_eal/common/eal_thread.h @@ -34,6 +34,10 @@ #ifndef EAL_THREAD_H #define EAL_THREAD_H +#ifdef __cplusplus +extern "C" { +#endif + #include /** @@ -97,4 +101,8 @@ int eal_cpuset_socket_id(rte_cpuset_t *cpusetp); int eal_thread_dump_affinity(char *str, unsigned size); +#ifdef __cplusplus +} +#endif + #endif /* EAL_THREAD_H */ -- 2.1.0