From patchwork Tue Aug 15 09:59:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110114 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5464752qge; Tue, 15 Aug 2017 03:03:32 -0700 (PDT) X-Received: by 10.200.56.90 with SMTP id r26mr34789928qtb.174.1502791412189; Tue, 15 Aug 2017 03:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791412; cv=none; d=google.com; s=arc-20160816; b=bYWA1pohB5CG4Uarg1+TpqJ4ssf8GqbShbZHerhKEzdojB+o8T5xbOikQdcrQmObNy 42X2ST+9W+0JlVI4k415YhI6oBtkmOjp7E3M8TcAI0P16QeH0kZhvh3lnVLZKPwVa7A9 RxCNQ38SXQZpku7BQ9S077LLEdGHy7uziedY+RHKTU4tFJnzdmS01J4pWL1ddo3jZ0tv M1iYkzfvhcIdu4Tk4eVZbpTVCl7l7eqIsV+Yg+bHLmPlCcduV5s1fu0Zxj9OEtvPFFaq mupuIOoXzIXGaPm0dLtcB6LdBAU7kcEp11hSWW5ZGK/p7P/MJdMU35dDmFmf66/gXQzZ zObw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=TmBMdTiPa/HluhUUT9+wB9xRUG1EenpTZa1I74C/sRw=; b=d0cDfvLjWTKuf9qzkeirNpPYCv3ZdEG/iPgAis9ex8iBdnkjDjsmEgQgEr9vYGmb5S zcjZ5C8tu4a4ra7XBbDEhE+4NMbEdO6oyoGpRbSUeTXduy4TssfTXy7SxpFdberxzxd9 N5dq4Zh6RkChZmUC23CdHksQwjYaQIEoCPi8fgyy70rC6He3zgvnK55RdCuME1FJXusO pS449PsdwKjgcIGkuu3pgPhiNsXTkWGjtFC/TCkxLIafNXlulB77vE4+tXdP2baA93j5 ghw8j2D6Bb/fYMaZZw/mUfw7fGomic6DQqmjgSBFaKL8xr33PN0Qq9xQCnmLKkpCGiJf W94g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x185si8161551qkd.291.2017.08.15.03.03.31; Tue, 15 Aug 2017 03:03:32 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 9F91765C68; Tue, 15 Aug 2017 10:03:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id B8CCD65C39; Tue, 15 Aug 2017 10:00:47 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 5B57D65C0A; Tue, 15 Aug 2017 10:00:36 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id E70A3644BA for ; Tue, 15 Aug 2017 10:00:30 +0000 (UTC) Received: from mxback11g.mail.yandex.net (mxback11g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:90]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 42638181B05 for ; Tue, 15 Aug 2017 13:00:29 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback11g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mACFN3X413-0SoKtBr6; Tue, 15 Aug 2017 13:00:29 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0SjiXRwr; Tue, 15 Aug 2017 13:00:28 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:54 +0300 Message-Id: <1502791206-2437-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 4/16] helper: enable using of config.h header X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ helper/chksum.c | 4 ++++ helper/cuckootable.c | 4 ++++ helper/eth.c | 4 ++++ helper/hashtable.c | 5 +++++ helper/ip.c | 4 ++++ helper/iplookuptable.c | 4 ++++ helper/lineartable.c | 4 ++++ helper/linux/thread.c | 4 ++++ helper/test/chksum.c | 4 ++++ helper/test/cuckootable.c | 4 ++++ helper/test/iplookuptable.c | 4 ++++ helper/test/linux/process.c | 4 ++++ helper/test/linux/pthread.c | 4 ++++ helper/test/odpthreads.c | 4 ++++ helper/test/parse.c | 4 ++++ helper/test/table.c | 4 ++++ helper/threads.c | 4 ++++ 17 files changed, 69 insertions(+) diff --git a/helper/chksum.c b/helper/chksum.c index ae70d97e..23875110 100644 --- a/helper/chksum.c +++ b/helper/chksum.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/cuckootable.c b/helper/cuckootable.c index 32800911..65972361 100644 --- a/helper/cuckootable.c +++ b/helper/cuckootable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/helper/eth.c b/helper/eth.c index 9a151fa2..38dbe04a 100644 --- a/helper/eth.c +++ b/helper/eth.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/helper/hashtable.c b/helper/hashtable.c index f26b18b2..2aef8e4a 100644 --- a/helper/hashtable.c +++ b/helper/hashtable.c @@ -3,6 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/ip.c b/helper/ip.c index eb73e5a0..06f9edb1 100644 --- a/helper/ip.c +++ b/helper/ip.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/helper/iplookuptable.c b/helper/iplookuptable.c index ac7d0587..ee98d857 100644 --- a/helper/iplookuptable.c +++ b/helper/iplookuptable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/lineartable.c b/helper/lineartable.c index dd4a5995..7ddb3feb 100644 --- a/helper/lineartable.c +++ b/helper/lineartable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/linux/thread.c b/helper/linux/thread.c index 52d4efc5..deb1a34d 100644 --- a/helper/linux/thread.c +++ b/helper/linux/thread.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif diff --git a/helper/test/chksum.c b/helper/test/chksum.c index 1beae47f..995b23e1 100644 --- a/helper/test/chksum.c +++ b/helper/test/chksum.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "odph_debug.h" #include #include diff --git a/helper/test/cuckootable.c b/helper/test/cuckootable.c index be655911..24faf360 100644 --- a/helper/test/cuckootable.c +++ b/helper/test/cuckootable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/helper/test/iplookuptable.c b/helper/test/iplookuptable.c index b5d774cb..0bac4f03 100644 --- a/helper/test/iplookuptable.c +++ b/helper/test/iplookuptable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/test/linux/process.c b/helper/test/linux/process.c index e08ef868..81eb462e 100644 --- a/helper/test/linux/process.c +++ b/helper/test/linux/process.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/test/linux/pthread.c b/helper/test/linux/pthread.c index 2bec0d17..b4d8caae 100644 --- a/helper/test/linux/pthread.c +++ b/helper/test/linux/pthread.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/test/odpthreads.c b/helper/test/odpthreads.c index 219e1b65..4db6ec31 100644 --- a/helper/test/odpthreads.c +++ b/helper/test/odpthreads.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* * This program tests the ability of the linux helper to create ODP threads, * either implemented as linux pthreads or as linux processes, depending on diff --git a/helper/test/parse.c b/helper/test/parse.c index 0429f2cc..49a1925d 100644 --- a/helper/test/parse.c +++ b/helper/test/parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/helper/test/table.c b/helper/test/table.c index ac454da5..58d1f644 100644 --- a/helper/test/table.c +++ b/helper/test/table.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier:BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/threads.c b/helper/threads.c index cb747e5b..16c8ed4c 100644 --- a/helper/threads.c +++ b/helper/threads.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif