From patchwork Tue Aug 22 09:59:51 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: 110630 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5096382obb; Tue, 22 Aug 2017 03:07:38 -0700 (PDT) X-Received: by 10.237.50.103 with SMTP id y94mr169721qtd.98.1503396458862; Tue, 22 Aug 2017 03:07:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396458; cv=none; d=google.com; s=arc-20160816; b=jX4lWlbnjew9pV/8UhE1nRtARgBJAIoDtAAWyRU27mDQVckpypAcHbieFq1Xmsl1zm Qc4amgeekzqWykYHn0oEBf5uqN1lhFhXVx8jC8Wgxnsin30fT4KocFRWrS9aK//vVL7p IEe9tw9FfEnP8mCSNivVyZweRt0al0SMIwbkse7cgY2xZBDzKi67ZHH0QzVRMNRAfNnR Mzff8vWxfWnT0tF5Xbp4bVv1LJJN9YO2RJaqtMZxJToZemTvILtK1BkpRvAMKYpEfww1 5dt2DCKZU4PRQR9awpDiugx445Zmtdhy6nQV7MkM4lKVrF0PHop6X2XUebL6Ct5O7ItJ en1Q== 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=AyHvpwHitycnnkCNSvN1KMahPpHazNiFhK5RmRmWxeM=; b=xfGLzdVY0yar0/QoPWM7F4z2/iulzTpvg9oY/qJNXo1DpdmwiToiZjHXyD9dk33HZ8 kWXjtEhw2rQUP9BN0gRFAdxT3YRSyvmekqA3KrDZx/sSJZyZIigda2MUIUTXBkLof+7o JLTk/vG+LoLP+Rh5Bwp6TJS09bSese3vRJ2gs2cLVQb0oJw9sFz4Lcsg0L6awGtG9DBi Qmy4LYRsqgkUAAi8EEnh59eogdog3pHfVza9wDL6olhwc3BfZcqL8oms4oyr89EUZbOo XqUzUk1lFBMH3TGTECQmR0oV81IqOcv3lZpBP5mIkCh6OnhQniW7A03GD/p7UrjD2jAT dMgw== 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 o65si13378418qkd.135.2017.08.22.03.07.38; Tue, 22 Aug 2017 03:07:38 -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 44B0C60C14; Tue, 22 Aug 2017 10:07:38 +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 099A160B2B; Tue, 22 Aug 2017 10:01:11 +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 D436864473; Tue, 22 Aug 2017 10:00:30 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 8201064473 for ; Tue, 22 Aug 2017 10:00:21 +0000 (UTC) Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 1F64B180D64 for ; Tue, 22 Aug 2017 13:00:20 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id yrepmLpbnw-0JeOunNf; Tue, 22 Aug 2017 13:00:20 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0JfuPie7; Tue, 22 Aug 2017 13:00:19 +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, 22 Aug 2017 12:59:51 +0300 Message-Id: <1503396009-8350-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 7/25] test: don't redefine _GNU_SOURCE 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: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ test/common_plat/validation/api/traffic_mngr/traffic_mngr.c | 2 ++ test/linux-generic/pktio_ipc/ipc_common.h | 2 ++ test/linux-generic/ring/ring_stress.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c index 88a7d8c7..a21ff8a1 100644 --- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c +++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c @@ -4,7 +4,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include diff --git a/test/linux-generic/pktio_ipc/ipc_common.h b/test/linux-generic/pktio_ipc/ipc_common.h index ca78b684..334788f3 100644 --- a/test/linux-generic/pktio_ipc/ipc_common.h +++ b/test/linux-generic/pktio_ipc/ipc_common.h @@ -6,7 +6,9 @@ #define _POSIX_C_SOURCE 200809L +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include diff --git a/test/linux-generic/ring/ring_stress.c b/test/linux-generic/ring/ring_stress.c index b6ddb34e..f4f573e6 100644 --- a/test/linux-generic/ring/ring_stress.c +++ b/test/linux-generic/ring/ring_stress.c @@ -10,7 +10,9 @@ * ODP ring stress test */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include