From patchwork Fri Mar 6 09:16:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 45474 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4678D214A0 for ; Fri, 6 Mar 2015 09:16:49 +0000 (UTC) Received: by labgq15 with SMTP id gq15sf2075833lab.1 for ; Fri, 06 Mar 2015 01:16:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:references:in-reply-to:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :content-transfer-encoding:content-type:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=RXfVARUCT6BHmbpWLMUK9QFRPotEpCuDvUBvRdxlxQk=; b=dyWn5ewYz+RO/ri+Cd7wLugiCqiFh8FSmP7120nF/0Ir8gTpGOmf3v471FMnfvtyQg cLsvdyuHb/T3ybhhClnIbcjhaStY6eaJm0K3/2kwPQQxIm7dFXF0l/WRkNRK/lwEbwnu m2TEIGSD7Vxv4PaEbEFkVoJkUm+1JeNk2TkDRAJ8fQeVGUDFcZFW+n0l0XkA2SZQvSBG CHuclrbcMuICq5GaPy7FeBCU+fanO5K9RH96h1rcZHRhDtj6dVbtrwEBP0jIQ2hpldlr HUXYOv2A5MEpWcPgL5oh/EnjNlBNanZVKDZxbryfQgI5jfNZrBIyJgcidgVEQa58k4Cj kPkQ== X-Gm-Message-State: ALoCoQlC45uwz0CTMPyKeK4E7RX3heSTa5wlHherFNP6cTjyVSUqI6/T9ufXgRc+8CwDrBaw2s3u X-Received: by 10.180.87.166 with SMTP id az6mr5316451wib.1.1425633408013; Fri, 06 Mar 2015 01:16:48 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.171 with SMTP id kr11ls45375lac.36.gmail; Fri, 06 Mar 2015 01:16:47 -0800 (PST) X-Received: by 10.152.22.200 with SMTP id g8mr11637732laf.96.1425633407853; Fri, 06 Mar 2015 01:16:47 -0800 (PST) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id qa10si3292873lbb.109.2015.03.06.01.16.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2015 01:16:47 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbvn10 with SMTP id n10so2401773lbv.11 for ; Fri, 06 Mar 2015 01:16:47 -0800 (PST) X-Received: by 10.152.22.67 with SMTP id b3mr11495522laf.117.1425633407725; Fri, 06 Mar 2015 01:16:47 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1010734lbj; Fri, 6 Mar 2015 01:16:46 -0800 (PST) X-Received: by 10.229.173.7 with SMTP id n7mr18458476qcz.20.1425633406286; Fri, 06 Mar 2015 01:16:46 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id 13si8647714qhv.28.2015.03.06.01.16.44 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 06 Mar 2015 01:16:46 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YToN8-0002EY-9L; Fri, 06 Mar 2015 09:16:42 +0000 Received: from mail-la0-f52.google.com ([209.85.215.52]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YToN2-0002ET-7Z for lng-odp@lists.linaro.org; Fri, 06 Mar 2015 09:16:36 +0000 Received: by labgf13 with SMTP id gf13so31792359lab.5 for ; Fri, 06 Mar 2015 01:16:30 -0800 (PST) X-Received: by 10.152.19.228 with SMTP id i4mr11978212lae.77.1425633390531; Fri, 06 Mar 2015 01:16:30 -0800 (PST) Received: from [192.168.0.207] (broadband-46-188-125-102.2com.net. [46.188.125.102]) by mx.google.com with ESMTPSA id ba3sm1703767lbc.35.2015.03.06.01.16.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2015 01:16:29 -0800 (PST) Message-ID: <54F9706C.1040002@linaro.org> Date: Fri, 06 Mar 2015 12:16:28 +0300 From: Maxim Uvarov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: lng-odp-forward References: In-Reply-To: X-Forwarded-Message-Id: Subject: [lng-odp] Replace deprecated _BSD_SOURCE with _DEFAULT_SOURCE X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 fwd to odp mailing list. For odp now we do not use gerrit, we use mailing list. Maxim. -------- Forwarded Message -------- Subject: Change in lng/odp[master]: Replace deprecated _BSD_SOURCE with _DEFAULT_SOURCE Date: Fri, 06 Mar 2015 01:01:04 +0000 From: Gary Robertson (Code Review) Reply-To: gary.robertson@linaro.org To: Mike Holmes , Santosh Shukla , Maxim Uvarov , Anders Roxell Gary Robertson has uploaded a new change for review. https://review.linaro.org/4944 Change subject: Replace deprecated _BSD_SOURCE with _DEFAULT_SOURCE ...................................................................... Replace deprecated _BSD_SOURCE with _DEFAULT_SOURCE Compilation of ODP v1.0 on OpenEmbedded failed due to the following warning being treated as an error: | In file included from /usr/include/stdlib.h:24:0, | from odp/example/ipsec/odp_ipsec.c:16: | /usr/include/features.h:148:3: | error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, | use _DEFAULT_SOURCE" [-Werror=cpp] | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, | use _DEFAULT_SOURCE" | ^ Modified the source 'example/ipsec/odp_ipsec.c' as recommended. Change-Id: I3b8fb392611ea3ad35d17a9492637f44d7ca5d2c Signed-off-by: Gary S. Robertson --- M example/ipsec/odp_ipsec.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://review.linaro.org:29418/lng/odp refs/changes/44/4944/1 diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index 70cd957..98160ba 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -10,7 +10,7 @@ * @example odp_example_ipsec.c ODP basic packet IO cross connect with IPsec test application */ -#define _BSD_SOURCE +#define _DEFAULT_SOURCE /* enable strtok */ #define _POSIX_C_SOURCE 200112L #include