From patchwork Fri Feb 20 21:44:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 44875 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A8A3C21561 for ; Fri, 20 Feb 2015 21:45:12 +0000 (UTC) Received: by lbvp9 with SMTP id p9sf5720658lbv.1 for ; Fri, 20 Feb 2015 13:45:11 -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=ahfcJbzm5vRULLqcbUZNT43M2xsr/0s+wqzKe3p0DiU=; b=UMAqtibQXMpgKxSk5q7P06HA0BSJxF5Fq3SCSngtsYnybT94qhytY/+VpeUawPIq5u AhIbQaEmEBvsobTfXAldf8iojvXx/XeuGhsM1oSdYqnmr9BtoJncF7VSCuRptKOkx4iA wJZf7AF67NE4NeMKzAi2Cg+mUpf4OrvSocmlV+hTxxzkalUTPk+J13nebkEv2b913hJG O+qIerS8S6zzTE3y6Z6CetxJgNGKCp0X6yS5ObwBTLGZX4EIGjOzWtT+u1bwn2hCPKlk F9bbdMpHmuLoaFkslbbnhldWz3oLhX7e5bMwoJg/cMgtaUraye7yFwtAq8JZAHviS6pY +3Pg== X-Gm-Message-State: ALoCoQnvCfHZPDXx1NzgANIm7+jmBNGIB5/mkl27MffNDR0AtrQZmNVOaDWet/Yx6LOnsRjHesot X-Received: by 10.180.8.67 with SMTP id p3mr110205wia.7.1424468711650; Fri, 20 Feb 2015 13:45:11 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.6 with SMTP id v6ls338107laa.13.gmail; Fri, 20 Feb 2015 13:45:11 -0800 (PST) X-Received: by 10.152.37.106 with SMTP id x10mr10243538laj.52.1424468711485; Fri, 20 Feb 2015 13:45:11 -0800 (PST) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id a4si20489297lbg.132.2015.02.20.13.45.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 13:45:11 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by lbiz11 with SMTP id z11so8922983lbi.5 for ; Fri, 20 Feb 2015 13:45:11 -0800 (PST) X-Received: by 10.112.56.139 with SMTP id a11mr10386372lbq.36.1424468710996; Fri, 20 Feb 2015 13:45:10 -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 h5csp141718lbj; Fri, 20 Feb 2015 13:45:10 -0800 (PST) X-Received: by 10.140.102.205 with SMTP id w71mr26442481qge.104.1424468709795; Fri, 20 Feb 2015 13:45:09 -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 a10si21450637qac.24.2015.02.20.13.45.08 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Feb 2015 13:45:09 -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 1YOvNi-0005Lh-Tc; Fri, 20 Feb 2015 21:45:06 +0000 Received: from mail-qg0-f51.google.com ([209.85.192.51]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YOvNH-0005HM-Fz for lng-odp@lists.linaro.org; Fri, 20 Feb 2015 21:44:39 +0000 Received: by mail-qg0-f51.google.com with SMTP id z60so16330997qgd.10 for ; Fri, 20 Feb 2015 13:44:34 -0800 (PST) X-Received: by 10.140.86.199 with SMTP id p65mr16018401qgd.49.1424468674331; Fri, 20 Feb 2015 13:44:34 -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.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Feb 2015 13:44:33 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 20 Feb 2015 16:44:14 -0500 Message-Id: <1424468661-967-7-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_05/12=5D_example=3A_odp=5Fipsec=3A_f?= =?utf-8?q?ix_c99_implicit_declaration_of_function_=E2=80=98strtok?= =?utf-8?b?X3LigJk=?= 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.176 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.c:1400:5: error: implicit declaration of function ‘strtok_r’ [-Werror=implicit-function-declaration] token = strtok_r(str, ",", &save); Signed-off-by: Mike Holmes --- example/ipsec/odp_ipsec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index 6cd6ae0..f86532e 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -10,6 +10,8 @@ * @example odp_example_ipsec.c ODP basic packet IO cross connect with IPsec test application */ +/* enable strtok */ +#define _POSIX_C_SOURCE 200112L #include #include #include