From patchwork Fri Feb 27 14:52:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 45232 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9FE10204BC for ; Fri, 27 Feb 2015 14:53:23 +0000 (UTC) Received: by wesw55 with SMTP id w55sf14600926wes.0 for ; Fri, 27 Feb 2015 06:53: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=wC4RiN90kgG+bZl7wyhSFngsNmAe9gFw0Jhm1OcxKkw=; b=ZQf+SxBJ0DxwmtglNd/ip3W44e6jMOX+E+6A9M1WijfLQfm8VFVJnb9FkVlfrFcZzT UojozEcwLT6RluylgZkXAGcRf+7aFpJWb6wYFl70rXu5xEx6oAegFgjsaaHfTyYn0TVj Xvxl7tBdDtEzLpTY4u6lEgIQozlaWlY2oTCQXV4ReNOX2wv2SQmt9pMKQkakkA+7NDvW xPEnuaLKdNNT0AzHhPGoBq4lM7fkjfvdVAWOCdBr1z+3Vh7fT6+kyuVpXwYCEIi5bk0Z H8AJlIuufUic2/EY9n1OQH81RBTABYWIcxyygmgvqWWLthigPtcoUq9F5pizH+X6E2Gv 3l6A== X-Gm-Message-State: ALoCoQnl0BR3wdYco79tTkLWz61kkR1IXs1qNYBG8IxfdlHKKDk9l1iAgP8spocGnDu+Zy05S+fz X-Received: by 10.112.162.135 with SMTP id ya7mr2131003lbb.14.1425048802903; Fri, 27 Feb 2015 06:53:22 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.9 with SMTP id ci9ls184007lad.40.gmail; Fri, 27 Feb 2015 06:53:22 -0800 (PST) X-Received: by 10.112.162.42 with SMTP id xx10mr12909830lbb.6.1425048802755; Fri, 27 Feb 2015 06:53:22 -0800 (PST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id p7si3050516lah.125.2015.02.27.06.53.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 06:53:22 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by labhv19 with SMTP id hv19so17946752lab.10 for ; Fri, 27 Feb 2015 06:53:22 -0800 (PST) X-Received: by 10.112.42.225 with SMTP id r1mr12742173lbl.72.1425048802611; Fri, 27 Feb 2015 06:53:22 -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 h5csp3990228lbj; Fri, 27 Feb 2015 06:53:22 -0800 (PST) X-Received: by 10.140.107.75 with SMTP id g69mr27929193qgf.103.1425048801212; Fri, 27 Feb 2015 06:53:21 -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 q13si4287276qha.10.2015.02.27.06.53.19 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 27 Feb 2015 06:53:21 -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 1YRMI1-0006gP-QQ; Fri, 27 Feb 2015 14:53:17 +0000 Received: from mail-qc0-f171.google.com ([209.85.216.171]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YRMHi-0006di-8K for lng-odp@lists.linaro.org; Fri, 27 Feb 2015 14:52:58 +0000 Received: by qcxm20 with SMTP id m20so14160550qcx.0 for ; Fri, 27 Feb 2015 06:52:53 -0800 (PST) X-Received: by 10.229.197.134 with SMTP id ek6mr29833998qcb.21.1425048773105; Fri, 27 Feb 2015 06:52: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 h8sm2735212qaq.44.2015.02.27.06.52.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Feb 2015 06:52:51 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 27 Feb 2015 09:52:35 -0500 Message-Id: <1425048757-28438-6-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_6/8=5D_performance=3A_odp=5Fsched?= =?utf-8?q?uling=3A_fix_c99_implicit_declaration_of_function_?= =?utf-8?b?4oCYY2xvY2tfZ2V0dGltZeKAmQ==?= 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.54 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_scheduling.c:714:2: error: implicit declaration of function ‘clock_gettime’ [-Werror=implicit-function-declaration] if (clock_gettime(CLOCK_MONOTONIC, &tp2)) { Signed-off-by: Mike Holmes --- test/performance/odp_scheduling.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/performance/odp_scheduling.c b/test/performance/odp_scheduling.c index ae86207..99f0f9b 100644 --- a/test/performance/odp_scheduling.c +++ b/test/performance/odp_scheduling.c @@ -10,6 +10,9 @@ * @example odp_example.c ODP example application */ +/* enable clock_gettime */ +#define _POSIX_C_SOURCE 200112L + #include #include