Message ID | 1424895578-24971-11-git-send-email-mike.holmes@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCT4HJVWSENBBHW5XCTQKGQEA7MK3II@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7BBC12142A for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 20:20:47 +0000 (UTC) Received: by lbiw7 with SMTP id w7sf4724410lbi.0 for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 12:20:46 -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:from:to:date:message-id:in-reply-to :references:mime-version:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=gYH9pMX/qEcFEc1wxpyv/ufC0VtAXyBkftzfCUPV39c=; b=keiIoYPlwyalMxs7+063EyxqwO70u9CeWmO+JzYCTA9KA2z1L17v5SbqFXL7ifD3He 1pX5JsS4JCLJKjEW9n888TbhsKd4gn9bRvJdPosk+IonnEEsdGno5SMdV7LHXkHhgHU/ o45Nn+NmNHAquM2grKLAujuS4GgnHJsCTM9kLKtE6DUn/nRaE6av4O3veNkZDxSOOTzY EDxNXT+MhiUgFF33D3BYnWsdJ35XdGEh1DzW6R/t5AphdI51YbL/V0jX1THIwKzQmWvD TRxbH/wBxYefExDZA+iqGLVJREdi18U5VpasRt2eHP3Ck402cLcww6q5t5OC858lSLAs i9Eg== X-Gm-Message-State: ALoCoQmTaedN5l9co/2ehXGIDNFiie3OepFos17pg0wpvSP1+vhSeYdz/XVz/3h82hzH20swwUO+ X-Received: by 10.180.91.76 with SMTP id cc12mr802096wib.7.1424895646489; Wed, 25 Feb 2015 12:20:46 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.165 with SMTP id g5ls717180lae.68.gmail; Wed, 25 Feb 2015 12:20:46 -0800 (PST) X-Received: by 10.152.44.225 with SMTP id h1mr4224331lam.99.1424895646205; Wed, 25 Feb 2015 12:20:46 -0800 (PST) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id qn8si29780002lbb.159.2015.02.25.12.20.46 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 12:20:46 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbiz11 with SMTP id z11so6422333lbi.8 for <patchwork-forward@linaro.org>; Wed, 25 Feb 2015 12:20:46 -0800 (PST) X-Received: by 10.112.135.196 with SMTP id pu4mr4380516lbb.41.1424895646128; Wed, 25 Feb 2015 12:20:46 -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 h5csp2863769lbj; Wed, 25 Feb 2015 12:20:45 -0800 (PST) X-Received: by 10.140.88.80 with SMTP id s74mr10319412qgd.28.1424895644887; Wed, 25 Feb 2015 12:20:44 -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 s20si29383857qge.73.2015.02.25.12.20.43 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 12:20:44 -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 <lng-odp-bounces@lists.linaro.org>) id 1YQiRm-0006tK-6d; Wed, 25 Feb 2015 20:20:42 +0000 Received: from mail-qc0-f181.google.com ([209.85.216.181]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <mike.holmes@linaro.org>) id 1YQiR6-0006ir-6y for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 20:20:00 +0000 Received: by qcvp6 with SMTP id p6so4995989qcv.9 for <lng-odp@lists.linaro.org>; Wed, 25 Feb 2015 12:19:55 -0800 (PST) X-Received: by 10.140.239.68 with SMTP id k65mr10993820qhc.76.1424895595056; Wed, 25 Feb 2015 12:19:55 -0800 (PST) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id 17sm14171410qhq.23.2015.02.25.12.19.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 12:19:54 -0800 (PST) From: Mike Holmes <mike.holmes@linaro.org> To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 15:19:35 -0500 Message-Id: <1424895578-24971-11-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424895578-24971-1-git-send-email-mike.holmes@linaro.org> References: <1424895578-24971-1-git-send-email-mike.holmes@linaro.org> MIME-Version: 1.0 X-Topics: patch Subject: [lng-odp] =?utf-8?q?=5BPATCH_v2_10/13=5D_example=3A_odp=5Fipsec?= =?utf-8?q?=5Fstream=3A_fix_c99_implicit_declaration_of_function_?= =?utf-8?b?4oCYc3RydG9rX3LigJk=?= X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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: mike.holmes@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.173 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 |
diff --git a/example/ipsec/odp_ipsec_stream.c b/example/ipsec/odp_ipsec_stream.c index 92050a4..ed07355 100644 --- a/example/ipsec/odp_ipsec_stream.c +++ b/example/ipsec/odp_ipsec_stream.c @@ -4,6 +4,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/* enable strtok */ +#define _POSIX_C_SOURCE 200112L + #include <stdlib.h> #include <string.h>
odp_ipsec_stream.c:90:2: error: implicit declaration of function ‘strtok_r’ [-Werror=implicit-function-declaration] while (NULL != (token = strtok_r(str, ":", &save))) { Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- example/ipsec/odp_ipsec_stream.c | 3 +++ 1 file changed, 3 insertions(+)