From patchwork Fri Dec 5 20:06:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 41985 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A69F321457 for ; Fri, 5 Dec 2014 20:07:27 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id d49sf936109eek.8 for ; Fri, 05 Dec 2014 12:07:26 -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:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=m1mUJT6/c4sUCDGbT9puKfjIGCmFGLgOnmrbZIiiR0A=; b=bmeAC0xAhZnsnWNEi231uX2mo1a09QL09p+FFqmLz13RrufaAR6zOWc7SuqPa+JZWX WZkdaVJdZeOGRUEj4Aoav1W6E3Tl8/q3J7yBkhStzcSVjgShBp6S6dEEQ1TeWmfuPTVf Wbiw4k+aotOS6NI60lSeCplb1uhQOM81rvQoXM9MMiPcgPHRsosbmzAywL80yqJ79ve3 plAa7l2oeMsl4oEfvoBULHm4OVZoMBEFiXd1eihRM9AZOgeSljFaTrVot4e2k0TgHdf2 nTCdmFq8hDZraTIE+htxtNWFQPBBzIM4ojekJqCgDGEVSQ/6zH6/7wcxYv5q/rs+HkW5 88fA== X-Gm-Message-State: ALoCoQmSvNvM8oTO6TzIwB9VNL/+aiRX2Wz8YY7dxy6g6t4APqdmIdxamFXg1p/93Rp8plT/qo0i X-Received: by 10.194.178.163 with SMTP id cz3mr3793020wjc.1.1417810046600; Fri, 05 Dec 2014 12:07:26 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.10 with SMTP id lc10ls440445lac.22.gmail; Fri, 05 Dec 2014 12:07:26 -0800 (PST) X-Received: by 10.112.166.74 with SMTP id ze10mr4602767lbb.68.1417810046254; Fri, 05 Dec 2014 12:07:26 -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 t10si15357321lae.38.2014.12.05.12.07.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Dec 2014 12:07:26 -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 mail-la0-f54.google.com with SMTP id pv20so1240292lab.41 for ; Fri, 05 Dec 2014 12:07:26 -0800 (PST) X-Received: by 10.153.7.170 with SMTP id dd10mr4577012lad.44.1417810046132; Fri, 05 Dec 2014 12:07:26 -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.184.201 with SMTP id ew9csp275466lbc; Fri, 5 Dec 2014 12:07:24 -0800 (PST) X-Received: by 10.224.160.212 with SMTP id o20mr29910746qax.57.1417810044241; Fri, 05 Dec 2014 12:07:24 -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 n4si35941343qas.57.2014.12.05.12.07.23 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 05 Dec 2014 12:07:24 -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 1Xwz9s-0000Ye-Qf; Fri, 05 Dec 2014 20:07:20 +0000 Received: from mail-qa0-f45.google.com ([209.85.216.45]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Xwz9n-0000YS-0T for lng-odp@lists.linaro.org; Fri, 05 Dec 2014 20:07:15 +0000 Received: by mail-qa0-f45.google.com with SMTP id x12so949466qac.18 for ; Fri, 05 Dec 2014 12:07:09 -0800 (PST) X-Received: by 10.140.38.170 with SMTP id t39mr28504629qgt.15.1417810029806; Fri, 05 Dec 2014 12:07:09 -0800 (PST) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id w7sm30600802qge.17.2014.12.05.12.07.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 05 Dec 2014 12:07:09 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 5 Dec 2014 15:06:58 -0500 Message-Id: <1417810018-16534-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] test: Remove use of ODP_UNUSED 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: , MIME-Version: 1.0 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_UNUSED is an ODP API macro that should not be used by external applications including tests. Signed-off-by: Mike Holmes Reviewed-by: Ciprian Barbu --- test/api_test/odp_ring_test.c | 3 ++- test/api_test/odp_shm_test.c | 3 ++- test/api_test/odp_timer_ping.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/test/api_test/odp_ring_test.c b/test/api_test/odp_ring_test.c index 15a9a7d..54398f0 100644 --- a/test/api_test/odp_ring_test.c +++ b/test/api_test/odp_ring_test.c @@ -418,7 +418,8 @@ static void *test_ring(void *arg) } -int main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED) +int main(int argc __attribute__((__unused__)), + char *argv[] __attribute__((__unused__))) { ring_arg_t rarg; diff --git a/test/api_test/odp_shm_test.c b/test/api_test/odp_shm_test.c index 5cfde7d..5163337 100644 --- a/test/api_test/odp_shm_test.c +++ b/test/api_test/odp_shm_test.c @@ -40,7 +40,8 @@ static void *run_thread(void *arg) return parg; } -int main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED) +int main(int argc __attribute__((__unused__)), + char *argv[] __attribute__((__unused__))) { pthrd_arg thrdarg; odp_shm_t shm; diff --git a/test/api_test/odp_timer_ping.c b/test/api_test/odp_timer_ping.c index 48f1885..d958815 100644 --- a/test/api_test/odp_timer_ping.c +++ b/test/api_test/odp_timer_ping.c @@ -315,7 +315,8 @@ static int ping_init(int count, char *name[]) return 0; } -int main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED) +int main(int argc __attribute__((__unused__)), + char *argv[] __attribute__((__unused__))) { odph_linux_pthread_t thread_tbl[MAX_WORKERS]; ping_arg_t pingarg;