From nobody Sun Feb 8 10:48:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1577977085; cv=none; d=zohomail.com; s=zohoarc; b=lIWWkJG6Dst2FHaKdXUzSrYgtcAkKnFymMV/2drhVA1O060WQsXw1RzGf69d9J16RDNBaD1Yif3rL2NCfmzMdEiNXjr1hVMnHPfKBJsi3DVXm1kE6iICYGiqrfFY8B2BNSWCo22ZdtuECdmPa8g+XHOLdRDmWZJU34qEa/O8z94= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1577977085; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=dd6P11DW+JGOdCM//mppw87VjVVw4HBFjUj+vZQbyQA=; b=VIO+Me36JPFYzZ6LH7G0IMYq+q6XORiTQtSEjTkRiZEnPrfjv6XhTp/vZZzFaU7JShEBhWx2Ig0yQn4ebxrJmokxnuuHhxIYDnsOlvmE8zV61vG4rD2NOcUK6bcZEyzYnpz3bWexT+wy3iPMrad/6GQazz8TPYRAd274tFvPw9M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1577977085989529.5702056261108; Thu, 2 Jan 2020 06:58:05 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-63-75SHAxOpPiuwDIYysgyVtQ-1; Thu, 02 Jan 2020 09:57:08 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C34FD8024CF; Thu, 2 Jan 2020 14:57:00 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9E11B2899B; Thu, 2 Jan 2020 14:57:00 +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 637D81803C42; Thu, 2 Jan 2020 14:57:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 002EuxY0004920 for ; Thu, 2 Jan 2020 09:56:59 -0500 Received: by smtp.corp.redhat.com (Postfix) id 49163610D9; Thu, 2 Jan 2020 14:56:59 +0000 (UTC) Received: from catbus.gsslab.fab.redhat.com (dhcp-43.gsslab.fab.redhat.com [10.33.9.43]) by smtp.corp.redhat.com (Postfix) with ESMTP id C18B2610C9; Thu, 2 Jan 2020 14:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1577977084; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=dd6P11DW+JGOdCM//mppw87VjVVw4HBFjUj+vZQbyQA=; b=R2gtR882gNAzU+/A3Nm/wmkxD12ABr4OJlk1U7qxLpna6sNR5S2wHKXNevw7VpxzHS1KjU i+zJYdw93cVK0ceDzA/DG/XYzY8mtgLYGYLX/mynaCZFty08g06kngLw6p0DVmC9WpN0GX Z7bYo86f6rBlI41oxOZKwFCNHFK13+w= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Thu, 2 Jan 2020 14:53:50 +0000 Message-Id: <20200102145357.6724-17-berrange@redhat.com> In-Reply-To: <20200102145357.6724-1-berrange@redhat.com> References: <20200102145357.6724-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 16/23] src: remove unused imports of dirname.h 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-MC-Unique: 75SHAxOpPiuwDIYysgyVtQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) A few places were importing dirname.h without actually using it. Signed-off-by: Daniel P. Berrang=C3=A9 --- build-aux/syntax-check.mk | 2 +- src/qemu/qemu_command.c | 1 - src/storage/storage_driver.c | 1 - tests/virstoragetest.c | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 8de82e9872..7e7c59c3df 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -611,7 +611,7 @@ sc_forbid_manual_xml_indent: # dirname and basename from are not required to be thread-safe sc_prohibit_libgen: @prohibit=3D'( (base|dir)name *\(|include .libgen\.h)' \ - halt=3D'use functions from gnulib "dirname.h", not ' \ + halt=3D'use functions from GLib, not ' \ $(_sc_search_regexp) =20 # raw xmlGetProp requires some nasty casts diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index a8137b3a32..11d3c29297 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -31,7 +31,6 @@ #include "qemu_slirp.h" #include "qemu_block.h" #include "cpu/cpu.h" -#include "dirname.h" #include "viralloc.h" #include "virlog.h" #include "virarch.h" diff --git a/src/storage/storage_driver.c b/src/storage/storage_driver.c index 72ba252543..6bbf52f729 100644 --- a/src/storage/storage_driver.c +++ b/src/storage/storage_driver.c @@ -48,7 +48,6 @@ #include "virsecret.h" #include "virstring.h" #include "viraccessapicheck.h" -//#include "dirname.h" #include "storage_util.h" =20 #define VIR_FROM_THIS VIR_FROM_STORAGE diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c index b9d4a45cdd..0e274ad1b7 100644 --- a/tests/virstoragetest.c +++ b/tests/virstoragetest.c @@ -26,7 +26,6 @@ #include "virlog.h" #include "virstoragefile.h" #include "virstring.h" -#include "dirname.h" =20 #include "storage/storage_driver.h" =20 --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list