From patchwork Wed Feb 25 20:19:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 45113 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 584142142A for ; Wed, 25 Feb 2015 20:20:39 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id h11sf5226661wiw.1 for ; Wed, 25 Feb 2015 12:20:38 -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=K2OCM3OcVly92ydjvJUZFElt82EqGHplKp2J/e5myndR+SpAP1hhricBKjXCcZHeCP ZCeyBoezdeesyxAgK51Iw/c90QtWGzxlusYML8Jv0LKrjSKDCHVH0wU6fogwEe4eiBC3 rJfmjs9DdAdgyvQjKGIoj7gJWh3eNTCpv0n5eraNT9i3B1D6xh6ZH5qqHps0Wo/xiso0 IdQacXzNvMN/DV76nOCGWfUMhHqQwvDbm3u8vQnaFkifZ52ACSHM9JHeoFk5QzQ+7EKx 6ZMcWix1STlq01DipBSilw97YVuU+LWM/XbxQ+Atjyy9+ievhGylWOFuQ8y3CpjN009F NTWg== X-Gm-Message-State: ALoCoQkc9hVlP6+rq48akO/G+Jg8nms7zsgZm90TZBy5U4knkY9xV4izLeT4q5NCAApL5iqBL0D7 X-Received: by 10.152.45.7 with SMTP id i7mr769127lam.9.1424895638677; Wed, 25 Feb 2015 12:20:38 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.14 with SMTP id t14ls867351laz.61.gmail; Wed, 25 Feb 2015 12:20:38 -0800 (PST) X-Received: by 10.152.29.68 with SMTP id i4mr4448047lah.5.1424895638475; Wed, 25 Feb 2015 12:20:38 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id k8si29372038lbs.115.2015.02.25.12.20.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 12:20:38 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by labgq15 with SMTP id gq15so6530246lab.6 for ; Wed, 25 Feb 2015 12:20:38 -0800 (PST) X-Received: by 10.152.43.51 with SMTP id t19mr4367125lal.73.1424895638372; Wed, 25 Feb 2015 12:20:38 -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 h5csp2863706lbj; Wed, 25 Feb 2015 12:20:37 -0800 (PST) X-Received: by 10.140.201.8 with SMTP id w8mr10917439qha.51.1424895636409; Wed, 25 Feb 2015 12:20:36 -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 b15si43525139qah.81.2015.02.25.12.20.35 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 12:20:36 -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 1YQiRd-0006pi-GJ; Wed, 25 Feb 2015 20:20:33 +0000 Received: from mail-qa0-f50.google.com ([209.85.216.50]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQiR4-0006il-SB for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 20:19:58 +0000 Received: by mail-qa0-f50.google.com with SMTP id f12so4578858qad.9 for ; Wed, 25 Feb 2015 12:19:53 -0800 (PST) X-Received: by 10.140.41.169 with SMTP id z38mr10255802qgz.56.1424895593702; Wed, 25 Feb 2015 12:19:53 -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 17sm14171410qhq.23.2015.02.25.12.19.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 12:19:53 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 15:19:33 -0500 Message-Id: <1424895578-24971-9-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424895578-24971-1-git-send-email-mike.holmes@linaro.org> References: <1424895578-24971-1-git-send-email-mike.holmes@linaro.org> MIME-Version: 1.0 X-Topics: patch Subject: [lng-odp] =?utf-8?q?=5BPATCH_v2_08/13=5D_example=3A_odp=5Fipsec?= =?utf-8?q?=5Ffwd=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.215.51 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