Message ID | 1424468661-967-3-git-send-email-mike.holmes@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCT4HJVWSENBBVWVT2TQKGQEG4W2WMA@linaro.org> 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 CE93921561 for <linaro@patches.linaro.org>; Fri, 20 Feb 2015 21:44:55 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id b13sf10756852wgh.2 for <linaro@patches.linaro.org>; Fri, 20 Feb 2015 13:44:55 -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=Po4tivTxh9fN8ZMyZppUHOvpqU7Zk8TZtEArSoskwAY=; b=ImZo53T+QXpeCxbxwdqLSXHz6Al+g1ZCw2eDSZ4GxUoekmTiA/OXK42afWK8bZJPT4 02aMGBcLkhojnKn3zCYrqQre/UBybKv1C1Ccki8nxHPjPq8BC4/qf/tLM4NKUVPVP/Dv zzb4jvtg9cXERx4qo6LY9fKmzVUcKbAMsICSE5llSwTmdXlyNQy7DqmtF6DqOUldZEbK zD0XZgaOUucAdrLBA+vMXHussVOlykfXTyGWv+4IpuXCik0SoXBIyBqlgriMPmBKkvNc zxub2dAcQVsHeiiGrqDNx7jt1YrOutr9BejWeKgsOvWj6Ry/Sznwo0dOanBn083pMQi4 vPgQ== X-Gm-Message-State: ALoCoQlr7JJ1azkmcCjub37x+6TN+Lr88oQuuTnwNYaADg9mg1ByOUegUrtPpV6AcFa6BvxxkInL X-Received: by 10.152.28.137 with SMTP id b9mr1568173lah.8.1424468695038; Fri, 20 Feb 2015 13:44:55 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.131 with SMTP id k3ls327862lak.21.gmail; Fri, 20 Feb 2015 13:44:54 -0800 (PST) X-Received: by 10.152.4.136 with SMTP id k8mr10210011lak.103.1424468694821; Fri, 20 Feb 2015 13:44:54 -0800 (PST) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id bd1si5340912lab.54.2015.02.20.13.44.54 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 13:44:54 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by labge10 with SMTP id ge10so8716570lab.12 for <patchwork-forward@linaro.org>; Fri, 20 Feb 2015 13:44:54 -0800 (PST) X-Received: by 10.152.26.199 with SMTP id n7mr10117363lag.29.1424468694407; Fri, 20 Feb 2015 13:44:54 -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 h5csp141598lbj; Fri, 20 Feb 2015 13:44:53 -0800 (PST) X-Received: by 10.140.234.2 with SMTP id f2mr28405506qhc.63.1424468693203; Fri, 20 Feb 2015 13:44:53 -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 j34si11803826qgd.49.2015.02.20.13.44.51 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Feb 2015 13:44:53 -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 1YOvNS-0005In-8y; Fri, 20 Feb 2015 21:44:50 +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 <mike.holmes@linaro.org>) id 1YOvND-0005HD-Lu for lng-odp@lists.linaro.org; Fri, 20 Feb 2015 21:44:35 +0000 Received: by mail-qa0-f47.google.com with SMTP id v10so14430359qac.6 for <lng-odp@lists.linaro.org>; Fri, 20 Feb 2015 13:44:30 -0800 (PST) X-Received: by 10.140.232.197 with SMTP id d188mr28810875qhc.80.1424468670527; Fri, 20 Feb 2015 13:44:30 -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.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Feb 2015 13:44:30 -0800 (PST) From: Mike Holmes <mike.holmes@linaro.org> To: lng-odp@lists.linaro.org Date: Fri, 20 Feb 2015 16:44:10 -0500 Message-Id: <1424468661-967-3-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] [PATCH 01/12] example: odp_generator: fix c99 nested extern 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.52 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/generator/odp_generator.c b/example/generator/odp_generator.c index db9e0c2..2d5eb26 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -10,6 +10,8 @@ * @example odp_generator.c ODP loopback demo application */ +/* enable strtok */ +#define _POSIX_C_SOURCE 200112L #include <stdlib.h> #include <string.h> #include <getopt.h>
odp_generator.c:759: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/generator/odp_generator.c | 2 ++ 1 file changed, 2 insertions(+)