From patchwork Mon Dec 8 21:02:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 42022 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F2CCE202E0 for ; Mon, 8 Dec 2014 21:03:09 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id q1sf3271672lam.6 for ; Mon, 08 Dec 2014 13:03:08 -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=H4zewo8z+dPsM5L7rl8XpwDWO8VKNCri+WzHJC0YZqw=; b=Xx29yEDWEKyCBaqWJuOScQZmHZ4jQhY/2smIYSzU6UMAWi+I0L6/d26Vw2J9CtD8sK dTR5hnfgTXYHa97FPaeZHKyWqiB2dl8xZwHo0jl8siBq36uVzMPtdBuDoRPJw9xz1nRu 82O7MEvCD0fn6z/DumPzro11Be2Pt5U2IwSlWvkQcuvKjk8IvSK/CfV9o6rUYKw7Ii5a 1JiQ0pkcBztdz2swAEFvgu/Sot0xbOcJM3DXu8hbSEku4eft2Kh3Ddx3M1xFdECEGyym hRaaR4Pg0IbFt4J1BuouKJB/2Bu9vlB7BlmzlYc8Ro9VM2SbbCIaBbHNtvE+TGUwN3kM pXhA== X-Gm-Message-State: ALoCoQn+8XpEZB45jTXlmzHI2SmJwf6Zk7zZC/CIj5/aVxKQc/Ihx3yXCqlnp5Sx1oxyVot5PsA0 X-Received: by 10.112.14.2 with SMTP id l2mr6518249lbc.5.1418072588635; Mon, 08 Dec 2014 13:03:08 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.169 with SMTP id c9ls354419laa.44.gmail; Mon, 08 Dec 2014 13:03:08 -0800 (PST) X-Received: by 10.112.129.228 with SMTP id nz4mr7360713lbb.8.1418072588484; Mon, 08 Dec 2014 13:03:08 -0800 (PST) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id kl4si30101751lbc.134.2014.12.08.13.03.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Dec 2014 13:03:08 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id p9so4480641lbv.28 for ; Mon, 08 Dec 2014 13:03:08 -0800 (PST) X-Received: by 10.153.7.170 with SMTP id dd10mr18137059lad.44.1418072588129; Mon, 08 Dec 2014 13:03:08 -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 ew9csp670024lbc; Mon, 8 Dec 2014 13:03:06 -0800 (PST) X-Received: by 10.224.46.131 with SMTP id j3mr55056484qaf.86.1418072585325; Mon, 08 Dec 2014 13:03:05 -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 s18si30318891qam.4.2014.12.08.13.03.03 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 08 Dec 2014 13:03:05 -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 1Xy5SO-0003ki-RF; Mon, 08 Dec 2014 21:03:00 +0000 Received: from mail-qc0-f182.google.com ([209.85.216.182]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Xy5SG-0003kA-7l for lng-odp@lists.linaro.org; Mon, 08 Dec 2014 21:02:52 +0000 Received: by mail-qc0-f182.google.com with SMTP id r5so4222680qcx.27 for ; Mon, 08 Dec 2014 13:02:47 -0800 (PST) X-Received: by 10.224.51.68 with SMTP id c4mr52745514qag.26.1418072566946; Mon, 08 Dec 2014 13:02:46 -0800 (PST) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id p4sm22015733qar.48.2014.12.08.13.02.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Dec 2014 13:02:46 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Mon, 8 Dec 2014 16:02:29 -0500 Message-Id: <1418072550-16407-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] 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.217.169 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 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;