From patchwork Fri Feb 27 14:52:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 45230 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B2356204BC for ; Fri, 27 Feb 2015 14:53:14 +0000 (UTC) Received: by labgm9 with SMTP id gm9sf14751617lab.2 for ; Fri, 27 Feb 2015 06:53:13 -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=u3znk9rr8eUGVLN+mN+B3Zt/WwwEnnAJMldlpGRjMtA=; b=i3aGdTAIi36NCjJQ+RmQoSsXc8PaG8WEGAwvFs8xNK5mfOD0CWRxS/5ylExiEPSwjA 4+5ZyoIZO86favmoeg9/mXqYxXaQInDdNC3V+K5Sh5DKlAIWJEo8fFcdV/v5qGteiUw6 y89Lie9heYoq6Sf1YlX9n9ZmRfTsj7ilNdCioCGYx/esTu9e7aT98PfE9lk/wDUERBY1 82X93aszGJ7ssg4f6yS27dAV7EQwNnwz1re5LIfhx3W7fkZ5gUPQwHfLVPU6kYPpIwWQ MF/RoEUIS8saetVlS6RIdNDmHvg/aO9GZxayaQDDJa/CLKNnnOKiRJW5LYLhFpQ9fqHw 4BBw== X-Gm-Message-State: ALoCoQnNzeoereZzfF1axogu4SWa0UFP123N2C1AXI3hUyxAvBgnyFGX/OjoMCA4Bxapnxc4nBWs X-Received: by 10.112.145.133 with SMTP id su5mr2095263lbb.17.1425048793623; Fri, 27 Feb 2015 06:53:13 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.4.5 with SMTP id ca5ls160221lad.96.gmail; Fri, 27 Feb 2015 06:53:13 -0800 (PST) X-Received: by 10.112.51.114 with SMTP id j18mr12566879lbo.97.1425048793480; Fri, 27 Feb 2015 06:53:13 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id k8si3079429laa.90.2015.02.27.06.53.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 06:53:13 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by labgf13 with SMTP id gf13so17982208lab.9 for ; Fri, 27 Feb 2015 06:53:13 -0800 (PST) X-Received: by 10.152.28.5 with SMTP id x5mr12684151lag.112.1425048793354; Fri, 27 Feb 2015 06:53:13 -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 h5csp3990139lbj; Fri, 27 Feb 2015 06:53:12 -0800 (PST) X-Received: by 10.229.201.1 with SMTP id ey1mr30188717qcb.10.1425048792112; Fri, 27 Feb 2015 06:53:12 -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 c2si4228087qai.83.2015.02.27.06.53.10 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 27 Feb 2015 06:53:12 -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 1YRMHs-0006f7-UN; Fri, 27 Feb 2015 14:53:08 +0000 Received: from mail-qg0-f47.google.com ([209.85.192.47]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YRMHf-0006dY-1O for lng-odp@lists.linaro.org; Fri, 27 Feb 2015 14:52:55 +0000 Received: by mail-qg0-f47.google.com with SMTP id f51so6698549qge.6 for ; Fri, 27 Feb 2015 06:52:49 -0800 (PST) X-Received: by 10.140.95.43 with SMTP id h40mr28178084qge.68.1425048769882; Fri, 27 Feb 2015 06:52:49 -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 h8sm2735212qaq.44.2015.02.27.06.52.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Feb 2015 06:52:48 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 27 Feb 2015 09:52:33 -0500 Message-Id: <1425048757-28438-4-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1425048757-28438-1-git-send-email-mike.holmes@linaro.org> References: <1425048757-28438-1-git-send-email-mike.holmes@linaro.org> MIME-Version: 1.0 X-Topics: patch Subject: [lng-odp] =?utf-8?q?=5BPATCH_v5_4/8=5D_example=3A_fix_multiple_c9?= =?utf-8?q?9_implicit_declaration_of_function_=E2=80=98strtok=5Fr?= =?utf-8?b?4oCZ?= 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.215.41 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 Signed-off-by: Mike Holmes --- example/generator/odp_generator.c | 3 +++ example/ipsec/odp_ipsec.c | 2 ++ example/ipsec/odp_ipsec_fwd_db.c | 3 +++ example/ipsec/odp_ipsec_sa_db.c | 3 +++ example/ipsec/odp_ipsec_sp_db.c | 3 +++ 5 files changed, 14 insertions(+) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index f3a315d..3870fd1 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -10,6 +10,9 @@ * @example odp_generator.c ODP loopback demo application */ +/** enable strtok */ +#define _POSIX_C_SOURCE 200112L + #include #include #include 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 #include #include diff --git a/example/ipsec/odp_ipsec_fwd_db.c b/example/ipsec/odp_ipsec_fwd_db.c index 4168420..6604e3a 100644 --- a/example/ipsec/odp_ipsec_fwd_db.c +++ b/example/ipsec/odp_ipsec_fwd_db.c @@ -4,6 +4,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/* enable strtok */ +#define _POSIX_C_SOURCE 200112L + #include #include diff --git a/example/ipsec/odp_ipsec_sa_db.c b/example/ipsec/odp_ipsec_sa_db.c index cf619d8..5837cb6 100644 --- a/example/ipsec/odp_ipsec_sa_db.c +++ b/example/ipsec/odp_ipsec_sa_db.c @@ -4,6 +4,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/* enable strtok */ +#define _POSIX_C_SOURCE 200112L + #include #include diff --git a/example/ipsec/odp_ipsec_sp_db.c b/example/ipsec/odp_ipsec_sp_db.c index b3b138f..2ce8c93 100644 --- a/example/ipsec/odp_ipsec_sp_db.c +++ b/example/ipsec/odp_ipsec_sp_db.c @@ -4,6 +4,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/* enable strtok */ +#define _POSIX_C_SOURCE 200112L + #include #include