Message ID | 1424895578-24971-12-git-send-email-mike.holmes@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCT4HJVWSENBBIW5XCTQKGQEZV32T4I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5CFC22142A for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 20:20:51 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id bs8sf5203040wib.2 for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 12:20:50 -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=qXsYyMrRKDrfrSkGU3bVvyiGAj8GPU8nlfFSrYp/lAo=; b=HLgjxddAHjvRyhdb3Jkos3xnnWUc7LCnBeqiKDpgs7yDQqzoOYuqJ6BKij4OzHSEHQ w60dmelrc9XY/a4RHYwCr+SCQtGI8kw/KRA1Naf3Cej5lsbT4+xXt29FmlLqTGK7/6va ltMUyQdkWWPN5hsLi2cU2Y3yzKoqvMMsrzWhEnr1DYmdnku0ogkT1vJF6voHRflAvV2M mxFx0Ma5JWyfdJqGvzN9qHJmnJgjhtAESmsnYrYuid+orLzx9Vi6UO5v22T/TgMl83HY 9ZzbKKsD+rAiNJbFpgxm8BF3iNP8nTfUINHm1h2WxaOD7g1mfqB19WmqV2jRTxUuCd1k uNlg== X-Gm-Message-State: ALoCoQk7ox4sGnXtdFy0J+NYAhAB5bfSYyxGvM51Q8IlA7xTA6ZsH9D1iFrTusba7szShqdTRCTT X-Received: by 10.181.13.236 with SMTP id fb12mr806900wid.1.1424895650732; Wed, 25 Feb 2015 12:20:50 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.101 with SMTP id lv5ls865475lac.22.gmail; Wed, 25 Feb 2015 12:20:50 -0800 (PST) X-Received: by 10.152.4.136 with SMTP id k8mr4419832lak.103.1424895650540; Wed, 25 Feb 2015 12:20:50 -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 ua5si23164829lac.172.2015.02.25.12.20.50 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 12:20:50 -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 lams18 with SMTP id s18so6456214lam.13 for <patchwork-forward@linaro.org>; Wed, 25 Feb 2015 12:20:50 -0800 (PST) X-Received: by 10.152.179.172 with SMTP id dh12mr4385348lac.76.1424895650428; Wed, 25 Feb 2015 12:20:50 -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 h5csp2863809lbj; Wed, 25 Feb 2015 12:20:49 -0800 (PST) X-Received: by 10.140.96.139 with SMTP id k11mr10259700qge.102.1424895649224; Wed, 25 Feb 2015 12:20:49 -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 g33si30838561qge.60.2015.02.25.12.20.48 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 12:20:49 -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-0006uC-EX; Wed, 25 Feb 2015 20:20:46 +0000 Received: from mail-qg0-f45.google.com ([209.85.192.45]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <mike.holmes@linaro.org>) id 1YQiR6-0006iw-UQ for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 20:20:00 +0000 Received: by mail-qg0-f45.google.com with SMTP id h3so5110651qgf.4 for <lng-odp@lists.linaro.org>; Wed, 25 Feb 2015 12:19:55 -0800 (PST) X-Received: by 10.140.150.146 with SMTP id 140mr10767213qhw.66.1424895595773; Wed, 25 Feb 2015 12:19:55 -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.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 12:19:55 -0800 (PST) From: Mike Holmes <mike.holmes@linaro.org> To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 15:19:36 -0500 Message-Id: <1424895578-24971-12-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_11/13=5D_example=3A_odp=5Fl2fwd?= =?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.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/l2fwd/odp_l2fwd.c b/example/l2fwd/odp_l2fwd.c index 0326a3c..848c6cf 100644 --- a/example/l2fwd/odp_l2fwd.c +++ b/example/l2fwd/odp_l2fwd.c @@ -10,6 +10,9 @@ * @example odp_l2fwd.c ODP basic forwarding application */ +/* enable strtok */ +#define _POSIX_C_SOURCE 200112L + #include <stdlib.h> #include <string.h> #include <getopt.h>
odp_l2fwd.c:497: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/l2fwd/odp_l2fwd.c | 3 +++ 1 file changed, 3 insertions(+)