Message ID | 1424468661-967-10-git-send-email-mike.holmes@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCT4HJVWSENBB5GVT2TQKGQE2HWWZZY@linaro.org> 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 11F9721561 for <linaro@patches.linaro.org>; Fri, 20 Feb 2015 21:45:26 +0000 (UTC) Received: by labge10 with SMTP id ge10sf5515174lab.3 for <linaro@patches.linaro.org>; Fri, 20 Feb 2015 13:45:25 -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=gR8B3JsFpM4tVqE3n5Q/3nUUck246dj6AlJ7Ru1zVsk=; b=TsCF7dtEDdW+j1wy1ptYuoQ3gt4aq75QnywOOlIoxXiNhDfnprIWXUJoSrWfV1uNTG SFTK+lK0L54QqcXgANzTW6mGcir5Kf8vE+S7xi4ky64/Ulw7NKlVtDVwQ01oaZyKOgdC 66L6MwCOqvaJABJKBDSfBTP6M+X65lftuwlHIqfnMKy2oyFWBn1f0wVe8cGurKmCMMXk 3YRyqIN3VNj8Mg1C5YS5LTA5iallg41IMnT6ypiOJRGs5b7P7p7neaPeDtjBLkNDT2YI ps5UEoAI8aeU+sTgvJ3jgOo81lWyl2hc6GEk2q34LaUWBYaAyznoAbkwJhiqZjSQP8fI e/Sw== X-Gm-Message-State: ALoCoQmexIamMoLfh0YUGD6yQymH/rX1WwGVypcgEd7w0RedagVNxGcZHLwyUB6vwg6VWG5yE5XI X-Received: by 10.180.81.34 with SMTP id w2mr21418wix.2.1424468725019; Fri, 20 Feb 2015 13:45:25 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.206.104 with SMTP id ln8ls306522lac.94.gmail; Fri, 20 Feb 2015 13:45:24 -0800 (PST) X-Received: by 10.152.4.136 with SMTP id k8mr10211390lak.103.1424468724793; Fri, 20 Feb 2015 13:45:24 -0800 (PST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id r3si20508144lbo.9.2015.02.20.13.45.24 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 13:45:24 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by labgq15 with SMTP id gq15so8905949lab.3 for <patchwork-forward@linaro.org>; Fri, 20 Feb 2015 13:45:24 -0800 (PST) X-Received: by 10.152.88.4 with SMTP id bc4mr10365994lab.86.1424468724709; Fri, 20 Feb 2015 13:45:24 -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 h5csp141813lbj; Fri, 20 Feb 2015 13:45:24 -0800 (PST) X-Received: by 10.140.131.9 with SMTP id 9mr28522968qhd.59.1424468723445; Fri, 20 Feb 2015 13:45:23 -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 x2si5055382qas.42.2015.02.20.13.45.22 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Feb 2015 13:45:23 -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 1YOvNw-0005OH-L3; Fri, 20 Feb 2015 21:45:20 +0000 Received: from mail-qg0-f50.google.com ([209.85.192.50]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <mike.holmes@linaro.org>) id 1YOvNJ-0005HY-WC for lng-odp@lists.linaro.org; Fri, 20 Feb 2015 21:44:42 +0000 Received: by mail-qg0-f50.google.com with SMTP id e89so16311539qgf.9 for <lng-odp@lists.linaro.org>; Fri, 20 Feb 2015 13:44:36 -0800 (PST) X-Received: by 10.140.150.149 with SMTP id 143mr29103187qhw.4.1424468676857; Fri, 20 Feb 2015 13:44:36 -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 t8sm19659303qga.24.2015.02.20.13.44.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Feb 2015 13:44:36 -0800 (PST) From: Mike Holmes <mike.holmes@linaro.org> To: lng-odp@lists.linaro.org Date: Fri, 20 Feb 2015 16:44:17 -0500 Message-Id: <1424468661-967-10-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424468661-967-1-git-send-email-mike.holmes@linaro.org> References: <1424468661-967-1-git-send-email-mike.holmes@linaro.org> MIME-Version: 1.0 X-Topics: patch Subject: [lng-odp] =?utf-8?q?=5BPATCH_08/12=5D_example=3A_odp=5Fipsec=5Fst?= =?utf-8?q?ream=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.215.54 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 788432d..132e238 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(+)