Message ID | 1424468661-967-8-git-send-email-mike.holmes@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCT4HJVWSENBB3OVT2TQKGQEKYHET3Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4EB1621561 for <linaro@patches.linaro.org>; Fri, 20 Feb 2015 21:45:18 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id r20sf3424722wiv.3 for <linaro@patches.linaro.org>; Fri, 20 Feb 2015 13:45:17 -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=0z9cwf+2FrEeWJK13dnnEM3Rkhwql7Rh0ItHuwR3OZY=; b=IVjPKRGaQJ8CmbtgR0yTWaA7+BwHk8clZUImnS76C5cd1VYiYaFC53kZWOE6GutIfx b+xOf/hSwR+3KbgGGXzZo08r6gG8QJxhU9aYwgflEfhKiPCjDppKOyezBuKzHbE4OSts a8V31fWnhRmbVywZxYtA2pBkhj6M/WujC58/CaGPwUHEyXec46jFTxokjgskigQUBEzq Uy8H9voEvtvimqG69okGGlLQOJ4ECVI4w6WudY8hYMS/jxyF18EB6ce4PNqyovPfSTmz evbCDMB8bAdlMsUU8pN6KCDO/EEah0BfEFq/S/MEVs66L1WhWbI6QoIwjOfcd9ItMbZL LBQw== X-Gm-Message-State: ALoCoQnnsw8H/AYolTgTt5XO9CK4i41Rjcmc6xQDJ+UD/24Jm9xM7BtRH/vg1HImwLlE+wKlbyZF X-Received: by 10.112.214.234 with SMTP id od10mr442529lbc.3.1424468717243; Fri, 20 Feb 2015 13:45:17 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.199 with SMTP id x7ls344528lae.0.gmail; Fri, 20 Feb 2015 13:45:17 -0800 (PST) X-Received: by 10.152.184.39 with SMTP id er7mr10214031lac.116.1424468717104; Fri, 20 Feb 2015 13:45:17 -0800 (PST) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id p8si18397511lap.51.2015.02.20.13.45.17 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 13:45:17 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by labgq15 with SMTP id gq15so8905426lab.3 for <patchwork-forward@linaro.org>; Fri, 20 Feb 2015 13:45:17 -0800 (PST) X-Received: by 10.152.6.195 with SMTP id d3mr10375368laa.36.1424468716978; Fri, 20 Feb 2015 13:45:16 -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 h5csp141752lbj; Fri, 20 Feb 2015 13:45:16 -0800 (PST) X-Received: by 10.140.145.12 with SMTP id 12mr29021970qhr.51.1424468715648; Fri, 20 Feb 2015 13:45:15 -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 h198si20963856qhc.127.2015.02.20.13.45.13 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Feb 2015 13:45:15 -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 1YOvNn-0005MR-AB; Fri, 20 Feb 2015 21:45:11 +0000 Received: from mail-qg0-f49.google.com ([209.85.192.49]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <mike.holmes@linaro.org>) id 1YOvNI-0005HR-J6 for lng-odp@lists.linaro.org; Fri, 20 Feb 2015 21:44:40 +0000 Received: by mail-qg0-f49.google.com with SMTP id q107so16324371qgd.8 for <lng-odp@lists.linaro.org>; Fri, 20 Feb 2015 13:44:35 -0800 (PST) X-Received: by 10.140.165.209 with SMTP id l200mr28473982qhl.84.1424468675464; Fri, 20 Feb 2015 13:44:35 -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.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Feb 2015 13:44:34 -0800 (PST) From: Mike Holmes <mike.holmes@linaro.org> To: lng-odp@lists.linaro.org Date: Fri, 20 Feb 2015 16:44:15 -0500 Message-Id: <1424468661-967-8-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_06/12=5D_example=3A_odp=5Fipsec=5Fsp?= =?utf-8?q?=5Fdb=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.48 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_sp_db.c b/example/ipsec/odp_ipsec_sp_db.c index b3b138f..2ce8c93 100644 --- a/example/ipsec/odp_ipsec_sp_db.c +++ b/example/ipsec/odp_ipsec_sp_db.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_sp_db.c:61: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_sp_db.c | 3 +++ 1 file changed, 3 insertions(+)