From nobody Tue Feb 10 05:27:11 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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=1611164064; cv=none; d=zohomail.com; s=zohoarc; b=VbAjp9o1u2CnFXACPSn6ezaoNcNdEEqZqH9aP0iXzv3nXt+BNL10xv30+xGC1WHpY9g9MuVWc1I5xPPBqM4Bj/+1YNBig7QKyIcdsif8QdiLHWxiJYEN94smQAp7o9SUlGvnllZD4pdM0RarhY89QsP75m56qNkxiT5BlJUvjcQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611164064; 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=k6L2ll2wWcG1UbkJIOrKBONxWoaMi096a1zrbOHtcKw=; b=kk2ozVqarDvhPWwDsYxd4UvD3Ec8UbSyZ7dxMoG7bMzDNVJxsKN4kaUUgmAGzcUC8N6v6kxIzGhzCAB8Pfc22MPfzrgtNVL1BnrHO9E1wmL5l8F3fX8RNWI/6HSSyGzUjt//DHyLVcPhd8sLIypsJCLZfsEYpdGzrEP/kDVdwAw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 161116406402812.370368640075299; Wed, 20 Jan 2021 09:34:24 -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-372-OpQU-8XbOmaYtdrz0XqJoQ-1; Wed, 20 Jan 2021 12:34:20 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AD5D5814602; Wed, 20 Jan 2021 17:34:12 +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 891475D9C2; Wed, 20 Jan 2021 17:34:12 +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 4FC2E1809CA8; Wed, 20 Jan 2021 17:34:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 10KHXsOe009017 for ; Wed, 20 Jan 2021 12:33:54 -0500 Received: by smtp.corp.redhat.com (Postfix) id D3E075D74A; Wed, 20 Jan 2021 17:33:54 +0000 (UTC) Received: from himantopus.redhat.com (ovpn-113-221.phx2.redhat.com [10.3.113.221]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A90145D76F for ; Wed, 20 Jan 2021 17:33:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611164062; 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=k6L2ll2wWcG1UbkJIOrKBONxWoaMi096a1zrbOHtcKw=; b=Bm+iHLhU7pB8u/WWqatUGDffbyJY7NW6Su4sQSsCpMML9cXXhmTisRH6z+RAXVZ1EEHTIz REHnSUppnwBZOMfdhp9CLS1YLtOC4BCFKuloDvHbDIXVWaStftxo48dlmrfYyFjaEpZxpa 1dyXv1GLanPgv6L3OUulgKzgdULqc7E= X-MC-Unique: OpQU-8XbOmaYtdrz0XqJoQ-1 From: Jonathon Jongsma To: libvir-list@redhat.com Subject: [libvirt PATCH 4/8] libvirt-interface.h: remove space-padded alignment Date: Wed, 20 Jan 2021 11:33:45 -0600 Message-Id: <20210120173349.3785246-5-jjongsma@redhat.com> In-Reply-To: <20210120173349.3785246-1-jjongsma@redhat.com> References: <20210120173349.3785246-1-jjongsma@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com 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.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Improve consistency in headers by removing the old style space-padded alignment for function names and arguments. Signed-off-by: Jonathon Jongsma --- include/libvirt/libvirt-interface.h | 72 ++++++++++++++--------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/include/libvirt/libvirt-interface.h b/include/libvirt/libvirt-= interface.h index 7591c6c7fb..d23e5cd61c 100644 --- a/include/libvirt/libvirt-interface.h +++ b/include/libvirt/libvirt-interface.h @@ -42,17 +42,17 @@ typedef struct _virInterface virInterface; */ typedef virInterface *virInterfacePtr; =20 -virConnectPtr virInterfaceGetConnect (virInterfacePtr iface); +virConnectPtr virInterfaceGetConnect(virInterfacePtr iface); =20 -int virConnectNumOfInterfaces (virConnectPtr conn); -int virConnectListInterfaces (virConnectPtr conn, - char **const names, - int maxnames); +int virConnectNumOfInterfaces(virConnectPtr conn); +int virConnectListInterfaces(virConnectPtr conn, + char **const names, + int maxnames); =20 -int virConnectNumOfDefinedInterfaces (virConnectPtr co= nn); -int virConnectListDefinedInterfaces (virConnectPtr co= nn, - char **const nam= es, - int maxnames); +int virConnectNumOfDefinedInterfaces(virConnectPtr conn); +int virConnectListDefinedInterfaces(virConnectPtr conn, + char **const names, + int maxnames); /* * virConnectListAllInterfaces: * @@ -63,45 +63,45 @@ typedef enum { VIR_CONNECT_LIST_INTERFACES_ACTIVE =3D 1 << 1, } virConnectListAllInterfacesFlags; =20 -int virConnectListAllInterfaces (virConnectPtr conn, - virInterfacePtr **ifa= ces, - unsigned int flags); +int virConnectListAllInterfaces(virConnectPtr conn, + virInterfacePtr **ifaces, + unsigned int flags); =20 -virInterfacePtr virInterfaceLookupByName (virConnectPtr conn, - const char *name); -virInterfacePtr virInterfaceLookupByMACString (virConnectPtr conn, - const char *mac); +virInterfacePtr virInterfaceLookupByName(virConnectPtr conn, + const char *name); +virInterfacePtr virInterfaceLookupByMACString(virConnectPtr conn, + const char *mac); =20 -const char* virInterfaceGetName (virInterfacePtr iface); -const char* virInterfaceGetMACString (virInterfacePtr iface); +const char* virInterfaceGetName(virInterfacePtr iface); +const char* virInterfaceGetMACString(virInterfacePtr iface); =20 typedef enum { VIR_INTERFACE_XML_INACTIVE =3D 1 << 0 /* dump inactive interface infor= mation */ } virInterfaceXMLFlags; =20 -char * virInterfaceGetXMLDesc (virInterfacePtr iface, - unsigned int flags); -virInterfacePtr virInterfaceDefineXML (virConnectPtr conn, - const char *xmlDesc, - unsigned int flags); +char * virInterfaceGetXMLDesc(virInterfacePtr iface, + unsigned int flags); +virInterfacePtr virInterfaceDefineXML(virConnectPtr conn, + const char *xmlDesc, + unsigned int flags); =20 -int virInterfaceUndefine (virInterfacePtr iface); +int virInterfaceUndefine(virInterfacePtr iface); =20 -int virInterfaceCreate (virInterfacePtr iface, - unsigned int flags); +int virInterfaceCreate(virInterfacePtr iface, + unsigned int flags); =20 -int virInterfaceDestroy (virInterfacePtr iface, - unsigned int flags); +int virInterfaceDestroy(virInterfacePtr iface, + unsigned int flags); =20 -int virInterfaceRef (virInterfacePtr iface); -int virInterfaceFree (virInterfacePtr iface); +int virInterfaceRef(virInterfacePtr iface); +int virInterfaceFree(virInterfacePtr iface); =20 -int virInterfaceChangeBegin (virConnectPtr conn, - unsigned int flags); -int virInterfaceChangeCommit (virConnectPtr conn, - unsigned int flags); -int virInterfaceChangeRollback(virConnectPtr conn, - unsigned int flags); +int virInterfaceChangeBegin(virConnectPtr conn, + unsigned int flags); +int virInterfaceChangeCommit(virConnectPtr conn, + unsigned int flags); +int virInterfaceChangeRollback(virConnectPtr conn, + unsigned int flags); =20 int virInterfaceIsActive(virInterfacePtr iface); =20 --=20 2.26.2