From patchwork Fri Feb 20 21:44:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 44882 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0244921561 for ; Fri, 20 Feb 2015 21:45:49 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id b13sf10760152wgh.2 for ; Fri, 20 Feb 2015 13:45: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: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=flJF4UY/L7JBjxCz2svN5snCWd16FKQnX83b69BYC5w=; b=ZA8wQIAKtH6d83V3vkvJYL3V/z230WKPEkU/D1+UYSisQbZLr9E0X8CANh3iwgY8gD q+ApGGfvoRftQIRSozcVhnIGsIS/GWvHNcW4U0fMnQ0Vg8CPXr5G6C8gZnwktSpB72Z8 KI8sPEmzi2wCFGKvb5TM8vk+sCBul3ebbCEs4wkL7BWZXwLPsQ9y9SbnXVQ3jnYvzdK3 9yUVNL1bmrOnVO7N+10oXBih/LAHdyUN4T2TpskDDdbXvdVO5zmPbeyo4xueEwaeXw26 WZ3DAGM/3wDgl8bVePzHFVsIdFeR1iqX9CWeUUv3zsRzS27FFKXk3gXopch40o0oTYwe WMfQ== X-Gm-Message-State: ALoCoQnWjQRiRzSNqbwLZpc/3pLAOYdmp+iQmzkqGv6MdIBPuQ3Y3iaW1ibD00eZbSuSRaIm3S7F X-Received: by 10.112.138.202 with SMTP id qs10mr1531521lbb.24.1424468748231; Fri, 20 Feb 2015 13:45:48 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.10 with SMTP id s10ls340800lal.81.gmail; Fri, 20 Feb 2015 13:45:48 -0800 (PST) X-Received: by 10.152.87.50 with SMTP id u18mr10284010laz.82.1424468748006; Fri, 20 Feb 2015 13:45:48 -0800 (PST) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id i7si12530420laf.49.2015.02.20.13.45.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 13:45:47 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbvp9 with SMTP id p9so9005327lbv.0 for ; Fri, 20 Feb 2015 13:45:47 -0800 (PST) X-Received: by 10.152.22.67 with SMTP id b3mr9995553laf.117.1424468747736; Fri, 20 Feb 2015 13:45: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 h5csp141999lbj; Fri, 20 Feb 2015 13:45:47 -0800 (PST) X-Received: by 10.229.99.135 with SMTP id u7mr10144919qcn.4.1424468746323; Fri, 20 Feb 2015 13:45: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 iq4si29229522qcb.38.2015.02.20.13.45.40 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Feb 2015 13:45: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 1YOvOD-0005SL-Io; Fri, 20 Feb 2015 21:45:37 +0000 Received: from mail-qa0-f47.google.com ([209.85.216.47]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YOvNN-0005Hs-IG for lng-odp@lists.linaro.org; Fri, 20 Feb 2015 21:44:45 +0000 Received: by mail-qa0-f47.google.com with SMTP id v10so14430947qac.6 for ; Fri, 20 Feb 2015 13:44:40 -0800 (PST) X-Received: by 10.140.107.227 with SMTP id h90mr27551252qgf.71.1424468680421; Fri, 20 Feb 2015 13:44:40 -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.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Feb 2015 13:44:39 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 20 Feb 2015 16:44:21 -0500 Message-Id: <1424468661-967-14-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_12/12=5D_example=3A_odp=5Fipsec=5Fsa?= =?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: 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: 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.182 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 odp_ipsec_sa_db.c:64:2: error: implicit declaration of function ‘strtok_r’ [-Werror=implicit-function-declaration] while (NULL != (token = strtok_r(str, ":", &save))) { Signed-off-by: Mike Holmes --- example/ipsec/odp_ipsec_sa_db.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/ipsec/odp_ipsec_sa_db.c b/example/ipsec/odp_ipsec_sa_db.c index cf619d8..5837cb6 100644 --- a/example/ipsec/odp_ipsec_sa_db.c +++ b/example/ipsec/odp_ipsec_sa_db.c @@ -4,6 +4,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/* enable strtok */ +#define _POSIX_C_SOURCE 200112L + #include #include