[libvirt PATCH 4/8] libvirt-interface.h: remove space-padded alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Improve consistency in headers by removing the old style space-padded
alignment for function names and arguments.

Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
---
 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;
 
-virConnectPtr           virInterfaceGetConnect    (virInterfacePtr iface);
+virConnectPtr virInterfaceGetConnect(virInterfacePtr iface);
 
-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);
 
-int                     virConnectNumOfDefinedInterfaces (virConnectPtr conn);
-int                     virConnectListDefinedInterfaces  (virConnectPtr conn,
-                                                          char **const names,
-                                                          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        = 1 << 1,
 } virConnectListAllInterfacesFlags;
 
-int                     virConnectListAllInterfaces (virConnectPtr conn,
-                                                     virInterfacePtr **ifaces,
-                                                     unsigned int flags);
+int virConnectListAllInterfaces(virConnectPtr conn,
+                                virInterfacePtr **ifaces,
+                                unsigned int flags);
 
-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);
 
-const char*             virInterfaceGetName       (virInterfacePtr iface);
-const char*             virInterfaceGetMACString  (virInterfacePtr iface);
+const char* virInterfaceGetName(virInterfacePtr iface);
+const char* virInterfaceGetMACString(virInterfacePtr iface);
 
 typedef enum {
     VIR_INTERFACE_XML_INACTIVE = 1 << 0 /* dump inactive interface information */
 } virInterfaceXMLFlags;
 
-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);
 
-int                     virInterfaceUndefine      (virInterfacePtr iface);
+int virInterfaceUndefine(virInterfacePtr iface);
 
-int                     virInterfaceCreate        (virInterfacePtr iface,
-                                                   unsigned int flags);
+int virInterfaceCreate(virInterfacePtr iface,
+                       unsigned int flags);
 
-int                     virInterfaceDestroy       (virInterfacePtr iface,
-                                                   unsigned int flags);
+int virInterfaceDestroy(virInterfacePtr iface,
+                        unsigned int flags);
 
-int                     virInterfaceRef           (virInterfacePtr iface);
-int                     virInterfaceFree          (virInterfacePtr iface);
+int virInterfaceRef(virInterfacePtr iface);
+int virInterfaceFree(virInterfacePtr iface);
 
-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);
 
 int virInterfaceIsActive(virInterfacePtr iface);
 
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux