From patchwork Wed Feb 25 20:19:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 45111 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3583E2142A for ; Wed, 25 Feb 2015 20:20:30 +0000 (UTC) Received: by lbvp9 with SMTP id p9sf4711716lbv.1 for ; Wed, 25 Feb 2015 12:20:29 -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=flJF4UY/L7JBjxCz2svN5snCWd16FKQnX83b69BYC5w=; b=DuABItnQinf14hpedNGjwdMp9Bh850mmwEIaR/KQaShSGHoU/Q+RMljk4iaNCNcafF BOFyYnkRl1TdNBZIHwUc3MrtOgA2PFOFCIZ+d6KNXiblWykUq0/PxTS3jXhJEvAmmySP nnsk3moMZEFFk/KSkEOyynVhCgmlFf11eOglP86NJpWJCf6BpyYFyuUHnnDNxtXjWEA/ G1sy9FvK5WWhpi6w4qfrUeMeABeNXFO3WVIj2bKI4r7EZ2uX2+rqamgQmSLwbkS2Ek23 0b8M7m8VLuRgUEscVQfEd2gDqz/9ulYYXSOMRloBZph718Z7YDRupImNPadinTKcM7mD EWJg== X-Gm-Message-State: ALoCoQlrP0Un6axWuFYqHocXvuMDrHT6y+X4WMu/qX5eK5qfgSLtF57peMLULYkdvom85lpETYP7 X-Received: by 10.152.19.100 with SMTP id d4mr768536lae.7.1424895629185; Wed, 25 Feb 2015 12:20:29 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.198.6 with SMTP id iy6ls783950lac.38.gmail; Wed, 25 Feb 2015 12:20:29 -0800 (PST) X-Received: by 10.112.29.211 with SMTP id m19mr1633232lbh.100.1424895629002; Wed, 25 Feb 2015 12:20:29 -0800 (PST) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id v9si13511934lbw.125.2015.02.25.12.20.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 12:20:28 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbvp9 with SMTP id p9so6475976lbv.0 for ; Wed, 25 Feb 2015 12:20:28 -0800 (PST) X-Received: by 10.152.4.227 with SMTP id n3mr1478790lan.72.1424895628889; Wed, 25 Feb 2015 12:20:28 -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 h5csp2863618lbj; Wed, 25 Feb 2015 12:20:28 -0800 (PST) X-Received: by 10.229.95.74 with SMTP id c10mr10950833qcn.17.1424895627521; Wed, 25 Feb 2015 12:20:27 -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 q67si43473648qgd.39.2015.02.25.12.20.26 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 12:20:27 -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 1YQiRU-0006oD-Kf; Wed, 25 Feb 2015 20:20:24 +0000 Received: from mail-qa0-f44.google.com ([209.85.216.44]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQiR3-0006ib-Cw for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 20:19:57 +0000 Received: by mail-qa0-f44.google.com with SMTP id n8so4586825qaq.3 for ; Wed, 25 Feb 2015 12:19:52 -0800 (PST) X-Received: by 10.229.175.131 with SMTP id ba3mr10967169qcb.3.1424895592272; Wed, 25 Feb 2015 12:19:52 -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.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 12:19:51 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 15:19:31 -0500 Message-Id: <1424895578-24971-7-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_06/13=5D_example=3A_odp=5Fipsec?= =?utf-8?q?=5Fsa=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.171 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_sa_db.c:64: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_sa_db.c | 3 +++ 1 file changed, 3 insertions(+) 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