From patchwork Fri Feb 20 21:44:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 44881 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B65A12157B for ; Fri, 20 Feb 2015 21:45:46 +0000 (UTC) Received: by eekc41 with SMTP id c41sf4648415eek.1 for ; Fri, 20 Feb 2015 13:45:45 -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=NMyxMhtfOQACMww8mSDspErAaMw7wlKngSol8vO3GE7Y5OyAI7GTv/nMYvAE8GlODn wOYMJ0g2Y+bhB5DQjW4uKyfzQwOMc9DFFZcjF5adQhf8jkBTLHl0Ws71j9nruuTetfEx yP1/3ORYZgSDs1yjARyd2QqXdBQgWcau+mXDLi9a3agctmbSVch/OAx9radpP8dLbdc4 t/t01zwm1DKvsGxk/6FKKODlDJRuTtyG8gfHhuCV0dsys+59pXAc+7aS+iR0Cw8VHc/y wMb8yTLrfRe6eZNpt+860JGMHXzy1dsTQ3a13YW1p3KXp8WUcynUNwTlcnAYlWPzNSF2 +RZQ== X-Gm-Message-State: ALoCoQkHuyJp+VnXFrzXgL+qSsKUqo/sO0OxZ1C3NPcwJDpXcPRiAnEKIbD3LJ2QITDgsScJ0lPf X-Received: by 10.180.39.164 with SMTP id q4mr16897wik.5.1424468745906; Fri, 20 Feb 2015 13:45:45 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.198.6 with SMTP id iy6ls304858lac.38.gmail; Fri, 20 Feb 2015 13:45:45 -0800 (PST) X-Received: by 10.152.87.50 with SMTP id u18mr10283923laz.82.1424468745644; Fri, 20 Feb 2015 13:45:45 -0800 (PST) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id e3si16004596lab.136.2015.02.20.13.45.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 13:45:45 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbiw7 with SMTP id w7so8888436lbi.9 for ; Fri, 20 Feb 2015 13:45:45 -0800 (PST) X-Received: by 10.152.6.195 with SMTP id d3mr10376801laa.36.1424468745563; Fri, 20 Feb 2015 13:45:45 -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 h5csp141979lbj; Fri, 20 Feb 2015 13:45:44 -0800 (PST) X-Received: by 10.140.109.99 with SMTP id k90mr27165575qgf.35.1424468744265; Fri, 20 Feb 2015 13:45:44 -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 n94si29295185qgn.48.2015.02.20.13.45.35 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Feb 2015 13:45:44 -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 1YOvO9-0005Rd-UB; Fri, 20 Feb 2015 21:45:33 +0000 Received: from mail-qc0-f180.google.com ([209.85.216.180]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YOvNM-0005Hr-NT for lng-odp@lists.linaro.org; Fri, 20 Feb 2015 21:44:44 +0000 Received: by qcxr5 with SMTP id r5so3013249qcx.10 for ; Fri, 20 Feb 2015 13:44:39 -0800 (PST) X-Received: by 10.140.22.234 with SMTP id 97mr6434190qgn.52.1424468679559; Fri, 20 Feb 2015 13:44:39 -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.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Feb 2015 13:44:39 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 20 Feb 2015 16:44:20 -0500 Message-Id: <1424468661-967-13-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_11/12=5D_performance=3A_odp=5Fschedu?= =?utf-8?q?ling=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.217.177 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