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 08FF5C360 for ; Mon, 6 Apr 2015 20:58:36 +0200 (CEST) Received: by pddn5 with SMTP id n5so52952052pdd.2 for ; Mon, 06 Apr 2015 11:58:35 -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=gWBfNXsCJ7oj9Th/lKyN/FUpdIeE7rnO3KK1+etS8TdwwXQ3xlawn2AD8tzdFhmlME CFsGm64azzduk9fU8eAlxoE+5hbr2V+234HdO2LakyBcjAqPzIiInanIpfIL7qambCu8 vLbTwX7O40UGH0GgPbZpmsldhLGOjZ2pO7stPxVJjMOH1EAmUywyN2i+LYoina1cccuD u4crccrovlWLSdat2fKDa9XAZS/Jh4gR8cKdSKVI7WLdfGFs3Yb53UjMU+9Ks4iQFS+1 C8vyzNEkERB1PtRwmZ98QzIcYBbOxT3CLP1fclbfdAKinNj9bNvzTmo3l2sMLqDNmv4y CNrA== X-Gm-Message-State: ALoCoQnMlby9AczQs7F4iG+shpduXyXWrjVKAZQaSMwfSMVsKWKaGLsY/BUTr+4wCTYXTCrtj4hf X-Received: by 10.66.119.238 with SMTP id kx14mr29925819pab.2.1428346715416; Mon, 06 Apr 2015 11:58:35 -0700 (PDT) Received: from localhost (7c295ef2.i-revonet.jp. [124.41.94.242]) by mx.google.com with ESMTPSA id ha5sm5442627pbb.34.2015.04.06.11.58.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Apr 2015 11:58:34 -0700 (PDT) From: Takuya ASADA To: dev@dpdk.org Date: Tue, 7 Apr 2015 03:58:07 +0900 Message-Id: <1428346691-14894-4-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 3/7] 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: Mon, 06 Apr 2015 18:58:36 -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