From patchwork Fri Feb 20 21:44:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 44877 Return-Path: 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 67EBE21561 for ; Fri, 20 Feb 2015 21:45:23 +0000 (UTC) Received: by lams18 with SMTP id s18sf5549570lam.1 for ; Fri, 20 Feb 2015 13:45:22 -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=Nc+bqU4JQnFbRRJivoQRbrsGcUb6lS9Z1Q7YxKbKer0=; b=i6qc0zl9/50a3lawbrLqSZcAT2bgU7lrV5WO6oEWD7YXpijhR2ScvEdagHqz8jbwCK pRJcjP9jKscHFO0DYmlqJicUaVix+qYRIVfJWv1DN6OkuoJtUk/pnlH1cc5d5EYtnjO6 ItKF0P8Qy4xsQKpHxUUmXGYqqhwda5tlKhxXM3Xe1KIGOePzSKssf+wCxDhkcnpdNF/S 3kzwzb5WwXmg7uXFHnEC7RY5s6m9fPdKfb9Ix4SGoQpz9q253he/n5XsJ+p2a3NEfE8h ldv47x9UGz8nS5M17RTXfB8TyOqYH8H5v7VlXVBpNGkYhJt4/Pb/uho45TJNN4IqVOLk X2mg== X-Gm-Message-State: ALoCoQmBNHl6D+lZdPJebO13HT9wQGuC2+yJz49Y+KBAP+BSZZA237JJuILGwaIc45WMJdyupVzQ X-Received: by 10.112.50.106 with SMTP id b10mr1558599lbo.8.1424468722268; Fri, 20 Feb 2015 13:45:22 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.71 with SMTP id i7ls310251lai.44.gmail; Fri, 20 Feb 2015 13:45:22 -0800 (PST) X-Received: by 10.152.88.4 with SMTP id bc4mr10365848lab.86.1424468722055; Fri, 20 Feb 2015 13:45:22 -0800 (PST) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id r3si20508025lbo.9.2015.02.20.13.45.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 13:45:22 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbvp9 with SMTP id p9so9003573lbv.0 for ; Fri, 20 Feb 2015 13:45:21 -0800 (PST) X-Received: by 10.152.22.67 with SMTP id b3mr9994329laf.117.1424468721783; Fri, 20 Feb 2015 13:45:21 -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 h5csp141787lbj; Fri, 20 Feb 2015 13:45:21 -0800 (PST) X-Received: by 10.140.148.4 with SMTP id 4mr28452053qhu.61.1424468720413; Fri, 20 Feb 2015 13:45:20 -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 q13si20968461qha.10.2015.02.20.13.45.18 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Feb 2015 13:45:20 -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 1YOvNs-0005NF-1U; Fri, 20 Feb 2015 21:45:16 +0000 Received: from mail-qc0-f175.google.com ([209.85.216.175]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YOvNJ-0005HX-AG for lng-odp@lists.linaro.org; Fri, 20 Feb 2015 21:44:41 +0000 Received: by qcqi8 with SMTP id i8so2988642qcq.3 for ; Fri, 20 Feb 2015 13:44:36 -0800 (PST) X-Received: by 10.140.148.195 with SMTP id 186mr27888633qhu.60.1424468676173; Fri, 20 Feb 2015 13:44:36 -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.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Feb 2015 13:44:35 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 20 Feb 2015 16:44:16 -0500 Message-Id: <1424468661-967-9-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] =?utf-8?q?=5BPATCH_07/12=5D_example=3A_odp=5Fipsec=5Ffw?= =?utf-8?q?d=5Fdb=3A_fix_c99_implicit_declaration_of_function_?= =?utf-8?b?4oCYc3RydG9rX3LigJk=?= 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.217.182 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 odp_ipsec_fwd_db.c:61:2: error: implicit declaration of function ‘strtok_r’ [-Werror=implicit-function-declaration] while (NULL != (token = strtok_r(str, ":", &save))) { Signed-off-by: Mike Holmes --- example/ipsec/odp_ipsec_fwd_db.c | 3 +++ 1 file changed, 3 insertions(+) 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