Message ID | 1424895578-24971-6-git-send-email-mike.holmes@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCT4HJVWSENBBCO5XCTQKGQEKL2RIEQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0B9DE2142A for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 20:20:27 +0000 (UTC) Received: by lamq1 with SMTP id q1sf4690154lam.0 for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 12:20: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=h1uwksYkfIjq42evQvEljOV50Y1M5e/ZTmmN2ohuDd8=; b=YAH8Rnoxbcdsw691KdNu9zH7m3FrtXjpABtJ0APAvyZ1xc8Ra//bYzDae0rcZvjEnl qzw0KMWkoiZN4z0Kd9VRSB+NrLSj0QR/QMOepR2VWfvT/HuKLDZng+iTd27m18AbDkiy bq4MAuDXyDJfBKaSzKIt/krr5Yd6ITlWl2jzX5L6a4iYIDJatC+bbkg8jd3g+DM050i7 HVv0E+bmlPcLhzdYQD58ZZOp44rO+pvUIlw7hw9ZndqSIY71i1/sNAE4WWpuQk4xBaD2 7TdaCtTRUoGznF+oOl5L6stZt/AOLRJGulMd3GEDP9SA18ETOPkvdaN3KXx9a47aaGCi i8UA== X-Gm-Message-State: ALoCoQmYXGxwRbwpk1/T3DP224Y45vS5LslsPRHDnf25FarxAyTBVYdPEYHHd8AVcFwCJk2RV9rX X-Received: by 10.180.72.44 with SMTP id a12mr804245wiv.0.1424895625785; Wed, 25 Feb 2015 12:20:25 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.246.38 with SMTP id xt6ls60953lac.102.gmail; Wed, 25 Feb 2015 12:20:25 -0800 (PST) X-Received: by 10.112.138.233 with SMTP id qt9mr4528590lbb.44.1424895625557; Wed, 25 Feb 2015 12:20:25 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id d1si29792389lbk.128.2015.02.25.12.20.25 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 12:20:25 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by labhs14 with SMTP id hs14so6530127lab.1 for <patchwork-forward@linaro.org>; Wed, 25 Feb 2015 12:20:25 -0800 (PST) X-Received: by 10.112.162.167 with SMTP id yb7mr4388515lbb.76.1424895625424; Wed, 25 Feb 2015 12:20:25 -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 h5csp2863581lbj; Wed, 25 Feb 2015 12:20:24 -0800 (PST) X-Received: by 10.140.84.165 with SMTP id l34mr10198213qgd.80.1424895624199; Wed, 25 Feb 2015 12:20:24 -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 83si1612015qhx.64.2015.02.25.12.20.21 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 12:20:24 -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 1YQiRQ-0006nh-8r; Wed, 25 Feb 2015 20:20:20 +0000 Received: from mail-qc0-f172.google.com ([209.85.216.172]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <mike.holmes@linaro.org>) id 1YQiR2-0006ia-QS for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 20:19:56 +0000 Received: by qcvs11 with SMTP id s11so4995588qcv.11 for <lng-odp@lists.linaro.org>; Wed, 25 Feb 2015 12:19:51 -0800 (PST) X-Received: by 10.229.248.138 with SMTP id mg10mr10905649qcb.29.1424895591656; Wed, 25 Feb 2015 12:19:51 -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.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 12:19:50 -0800 (PST) From: Mike Holmes <mike.holmes@linaro.org> To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 15:19:30 -0500 Message-Id: <1424895578-24971-6-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_05/13=5D_example=3A_odp=5Fipsec?= =?utf-8?q?=3A_fix_c99_implicit_declaration_of_function_=E2=80=98st?= =?utf-8?b?cnRva19y4oCZ?= 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.51 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.c b/example/ipsec/odp_ipsec.c index e53a6ec..70cd957 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -11,6 +11,8 @@ */ #define _BSD_SOURCE +/* enable strtok */ +#define _POSIX_C_SOURCE 200112L #include <stdlib.h> #include <string.h> #include <getopt.h>
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 <mike.holmes@linaro.org> --- example/ipsec/odp_ipsec.c | 2 ++ 1 file changed, 2 insertions(+)