From patchwork Thu Feb 26 16:43:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 45189 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5F4B42043C for ; Thu, 26 Feb 2015 16:43:49 +0000 (UTC) Received: by lbiz11 with SMTP id z11sf9416488lbi.2 for ; Thu, 26 Feb 2015 08:43:48 -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=mWQjNx/tFTOGkD9E5Xf4uxCweP7LBAgf/XI/6sFxV5Kfu+MSrR2topeGMJ8c16rrXI sVPfwpMecuLYgOcN3vc2WNF5aaI88SoklrpDqiFhYiF28KTw2/6izy7kaUAisCmXrSzW DHrWBI7w50ifvFhlQMkB0JGAv3wEOiFEwZNxO7K0o8Tu9urqx83xsWPha+DOceFcLHOa Km7bObn+sgB1txaX1Q65MJVefaE5qTBe9ej/fngXFxgbmlFFRSAfeZsaraqRI5t1Lvx0 AJkTC8bhqgk+8ZitVYNInxZ1R5r48E9/Lf7zBYkqFJnlZsubwH6Y6+mBEYVR54Ud1Dvl O0Tg== X-Gm-Message-State: ALoCoQn2YKy+r/HSmG4qFVS1TTd2p0J0vTFunMwYSJX2QbUzMoyBSfDwYdUcfKqvBhNTir3dv34m X-Received: by 10.180.87.166 with SMTP id az6mr3829298wib.1.1424969028304; Thu, 26 Feb 2015 08:43:48 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.71 with SMTP id i7ls59718lai.44.gmail; Thu, 26 Feb 2015 08:43:48 -0800 (PST) X-Received: by 10.152.4.227 with SMTP id n3mr5426360lan.72.1424969028076; Thu, 26 Feb 2015 08:43:48 -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 w6si942415lbf.153.2015.02.26.08.43.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Feb 2015 08:43:48 -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 labgf13 with SMTP id gf13so12185379lab.0 for ; Thu, 26 Feb 2015 08:43:48 -0800 (PST) X-Received: by 10.112.56.139 with SMTP id a11mr8544979lbq.36.1424969027988; Thu, 26 Feb 2015 08:43:47 -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 h5csp3416530lbj; Thu, 26 Feb 2015 08:43:47 -0800 (PST) X-Received: by 10.140.145.3 with SMTP id 3mr20015106qhr.43.1424969026477; Thu, 26 Feb 2015 08:43:46 -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 j33si1273905qgj.3.2015.02.26.08.43.45 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 26 Feb 2015 08:43:46 -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 1YR1XL-0001ql-Uu; Thu, 26 Feb 2015 16:43:43 +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 1YR1X2-0001nc-66 for lng-odp@lists.linaro.org; Thu, 26 Feb 2015 16:43:24 +0000 Received: by mail-qg0-f47.google.com with SMTP id f51so1834511qge.6 for ; Thu, 26 Feb 2015 08:43:19 -0800 (PST) X-Received: by 10.140.196.70 with SMTP id r67mr20499853qha.45.1424968998981; Thu, 26 Feb 2015 08:43:18 -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 g21sm808681qhc.35.2015.02.26.08.43.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Feb 2015 08:43:18 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org, bill.fischofer@linaro.org Date: Thu, 26 Feb 2015 11:43:01 -0500 Message-Id: <1424968984-30171-5-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424968984-30171-1-git-send-email-mike.holmes@linaro.org> References: <1424968984-30171-1-git-send-email-mike.holmes@linaro.org> MIME-Version: 1.0 X-Topics: patch Subject: [lng-odp] =?utf-8?q?=5BPATCH_v4_4/7=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.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 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