Message ID | 1424896591-4639-12-git-send-email-mike.holmes@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCT4HJVWSENBBKXFXCTQKGQE7MD3I6A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9552C20502 for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 20:38:03 +0000 (UTC) Received: by labge10 with SMTP id ge10sf4739158lab.3 for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 12:38:02 -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=YxkmURjzY3ZE+gD0JAiE6ojDlczMsiGlocsCi0W5bb8=; b=jMYfgm1IFnBF1p6BgnjEV1q0pzaEA44STBMJGeP1I9ggJ3CiQxpeI58R5BoeHIJNGc AQ8RlqooNXmvGl78/3qtrYLZ+haDONNzW4JeLBNS9yxeiX0uzUv75yz7q5ILPoFBXgpZ iI6mOa0lk4u3+lx91a2S7rSHwiv+pi1WCK2AGBect2FyYM8y0k4LUdAiKhmjdr395EeR A/OwAKFZwZUS5WExAsYK/O3xG8KrPeUkO9ggBBedg5egJmfVzqbo7HVxWMOCPsZvqId4 WAVz5tbQfs/wSA01eW/xOwnH8yAtWpqqXXhXvY143rKelDz4aRA/7LAbZ9HPFHIWM8KC XIoQ== X-Gm-Message-State: ALoCoQkhKp1Q8Qk22DFzYlJ0XbeBPCvN2HXr/tZY65FEWYEpSXnsEt88e23+sDI9cBvahN2rnlHO X-Received: by 10.112.146.65 with SMTP id ta1mr779802lbb.19.1424896682565; Wed, 25 Feb 2015 12:38:02 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.231 with SMTP id bb7ls866201lab.50.gmail; Wed, 25 Feb 2015 12:38:02 -0800 (PST) X-Received: by 10.112.170.132 with SMTP id am4mr4451954lbc.89.1424896682353; Wed, 25 Feb 2015 12:38:02 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id cy5si30038131lac.169.2015.02.25.12.38.02 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 12:38:02 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by labgf13 with SMTP id gf13so6574170lab.9 for <patchwork-forward@linaro.org>; Wed, 25 Feb 2015 12:38:02 -0800 (PST) X-Received: by 10.152.116.18 with SMTP id js18mr4563734lab.106.1424896682277; Wed, 25 Feb 2015 12:38:02 -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 h5csp2872358lbj; Wed, 25 Feb 2015 12:38:01 -0800 (PST) X-Received: by 10.140.135.207 with SMTP id 198mr10816197qhh.71.1424896681084; Wed, 25 Feb 2015 12:38:01 -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 u11si43575493qaj.80.2015.02.25.12.37.59 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 12:38:01 -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 1YQiiU-0000Md-7T; Wed, 25 Feb 2015 20:37:58 +0000 Received: from mail-qa0-f44.google.com ([209.85.216.44]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <mike.holmes@linaro.org>) id 1YQihV-00008K-JY for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 20:36:57 +0000 Received: by mail-qa0-f44.google.com with SMTP id n8so4653489qaq.3 for <lng-odp@lists.linaro.org>; Wed, 25 Feb 2015 12:36:52 -0800 (PST) X-Received: by 10.229.25.200 with SMTP id a8mr11045122qcc.22.1424896612456; Wed, 25 Feb 2015 12:36:52 -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 i46sm32171405qgd.35.2015.02.25.12.36.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 12:36:52 -0800 (PST) From: Mike Holmes <mike.holmes@linaro.org> To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 15:36:29 -0500 Message-Id: <1424896591-4639-12-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424896591-4639-1-git-send-email-mike.holmes@linaro.org> References: <1424896591-4639-1-git-send-email-mike.holmes@linaro.org> MIME-Version: 1.0 X-Topics: patch Subject: [lng-odp] =?utf-8?q?=5BPATCH_v3_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.47 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..b0a93fa 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(+)