From nobody Sun May 5 21:57:38 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1490241030852300.1302190683033; Wed, 22 Mar 2017 20:50:30 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 95C1280F96; Thu, 23 Mar 2017 03:50:29 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6BF807E840; Thu, 23 Mar 2017 03:50:29 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id ECAED4EBDC; Thu, 23 Mar 2017 03:50:25 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v2N3oOG8032758 for ; Wed, 22 Mar 2017 23:50:24 -0400 Received: by smtp.corp.redhat.com (Postfix) id 59F3D86894; Thu, 23 Mar 2017 03:50:24 +0000 (UTC) Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 51C4086887 for ; Thu, 23 Mar 2017 03:50:22 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 777448124F for ; Thu, 23 Mar 2017 03:50:21 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id j90so76694998lfk.2 for ; Wed, 22 Mar 2017 20:50:20 -0700 (PDT) Received: from dev.san.ru ([88.147.129.60]) by smtp.gmail.com with ESMTPSA id y17sm293485lja.61.2017.03.22.20.50.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 20:50:18 -0700 (PDT) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 95C1280F96 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 95C1280F96 Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="unsn4yQA" DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 777448124F Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bogorodskiy@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 777448124F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=GQsvORjxIbSQWJVq+UU4YAKep6i6bvohUtoQunsYkJU=; b=unsn4yQAcQL2BGWHUhw4OzejcblZ0UL4CLakWTffyu7el2tklRrWonuWL8QTiFQ2xw MMJ8VSIhvk8hM/50OYNIEaWRUoOnfALt7l8/OZCoQkASYuz6vVyCDxl6UWSwIkqjb+LD W0+Ddw6oCyt45RbRJAE44rSWlNodyQIOCP6O4+CZ1DEq6M/uWaWY02hHfo+G1D+VuCGf zog8NFnc98XRf1DdDWzHn4kAAhjN1abdt3X7Y943pfLVD3d4cUlSPyQgF5M9SLlh5g3G pXtzD7/NYQMQrvaABTFFX5np9TwGheBp4IznNGIxHF0CyMgCvbI0r5sjGWD1psg130c1 Ztwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GQsvORjxIbSQWJVq+UU4YAKep6i6bvohUtoQunsYkJU=; b=mbaFPlcOZ6PXw8zvV4JuvbRFtDwk+tiNVVlB9WP0xhKWhWbz41chqX2wRMKa4qSK4+ KpvAIFcLcRgBmeJQ442Nf3E/3vkRcNGccfDuI1jc6OGqinZ+nsaVPN6GtuVcjdpctPsl 2QOdviZOBRjX5dk4JUpamVJeL1Cm/6FIFlbl83/wO2FTCLDQntfUgMz8M50EO2t10oOI c8rkUF9Vvf7kSlOlGVEgpbXcAykvkEo7t5/JffzX9Qh5OFp/fRPA+Kt1fzlz5bL2+9x2 ffs7Djhxf4NBmr9LuG4Ah3m5CfVwJW05yK/DhrfytCuiyWWGiOUvpL3BJ7PJcVAxY2jA v78w== X-Gm-Message-State: AFeK/H2oI/SZipjq1jgoaEuS6zVPVYgolABEeFXYDqp4CBdxhHNPSMgEO1spTteK0ydn8g== X-Received: by 10.25.223.86 with SMTP id q22mr164801lfj.73.1490241018747; Wed, 22 Mar 2017 20:50:18 -0700 (PDT) From: Roman Bogorodskiy To: libvir-list@redhat.com Date: Thu, 23 Mar 2017 07:50:11 +0400 Message-Id: <1490241011-49492-1-git-send-email-bogorodskiy@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 23 Mar 2017 03:50:21 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 23 Mar 2017 03:50:21 +0000 (UTC) for IP:'209.85.215.50' DOMAIN:'mail-lf0-f50.google.com' HELO:'mail-lf0-f50.google.com' FROM:'bogorodskiy@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.27 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 209.85.215.50 mail-lf0-f50.google.com 209.85.215.50 mail-lf0-f50.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.25 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: Roman Bogorodskiy Subject: [libvirt] [PATCH] util: fix build on non-Linux X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 23 Mar 2017 03:50:30 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Decorate unused arguments of the virNetDevGetMaster() stub with ATTRIBUTE_UNUSED to fix build on systems where this stub is used. --- Pushed as a build-breaker. src/util/virnetdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/virnetdev.c b/src/util/virnetdev.c index 6805d32..455239a 100644 --- a/src/util/virnetdev.c +++ b/src/util/virnetdev.c @@ -1017,7 +1017,8 @@ virNetDevGetMaster(const char *ifname, char **master) =20 =20 int -virNetDevGetMaster(const char *ifname, char **master) +virNetDevGetMaster(const char *ifname ATTRIBUTE_UNUSED, + char **master ATTRIBUTE_UNUSED) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Unable to get device master from netlink on this pla= tform")); --=20 2.7.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list