[PATCH 5/5] vz_utils: Reformat

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

 



Honour our formatting style. Adjust indentation so it matches the
rest of our code.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 src/vz/vz_utils.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/vz/vz_utils.h b/src/vz/vz_utils.h
index 9b46bf9..db09647 100644
--- a/src/vz/vz_utils.h
+++ b/src/vz/vz_utils.h
@@ -35,7 +35,7 @@
 
 # define vzParseError()                                                 \
     virReportErrorHelper(VIR_FROM_TEST, VIR_ERR_OPERATION_FAILED, __FILE__,    \
-                     __FUNCTION__, __LINE__, _("Can't parse prlctl output"))
+                         __FUNCTION__, __LINE__, _("Can't parse prlctl output"))
 
 # define IS_CT(def)  (def->os.type == VIR_DOMAIN_OSTYPE_EXE)
 
@@ -77,8 +77,8 @@ typedef struct _vzConn *vzConnPtr;
 struct _vzCountersCache {
     PRL_HANDLE stats;
     virCond cond;
-    // -1 - unsubscribed
-    // > -1 - subscribed
+    /* = -1 - unsubscribed
+       > -1 - subscribed */
     int count;
 };
 
@@ -115,14 +115,14 @@ char * vzAddFileExt(const char *path, const char *ext);
 void vzDriverLock(vzConnPtr driver);
 void vzDriverUnlock(vzConnPtr driver);
 virStorageVolPtr vzStorageVolLookupByPathLocked(virConnectPtr conn,
-                                                       const char *path);
+                                                const char *path);
 int vzStorageVolDefRemove(virStoragePoolObjPtr privpool,
-                                 virStorageVolDefPtr privvol);
+                          virStorageVolDefPtr privvol);
 
-# define PARALLELS_BLOCK_STATS_FOREACH(OP)                                   \
-             OP(rd_req, VIR_DOMAIN_BLOCK_STATS_READ_REQ, "read_requests")    \
-             OP(rd_bytes, VIR_DOMAIN_BLOCK_STATS_READ_BYTES, "read_total")   \
-             OP(wr_req, VIR_DOMAIN_BLOCK_STATS_WRITE_REQ, "write_requests")  \
-             OP(wr_bytes, VIR_DOMAIN_BLOCK_STATS_WRITE_BYTES, "write_total")
+# define PARALLELS_BLOCK_STATS_FOREACH(OP)                              \
+    OP(rd_req, VIR_DOMAIN_BLOCK_STATS_READ_REQ, "read_requests")        \
+    OP(rd_bytes, VIR_DOMAIN_BLOCK_STATS_READ_BYTES, "read_total")       \
+    OP(wr_req, VIR_DOMAIN_BLOCK_STATS_WRITE_REQ, "write_requests")      \
+    OP(wr_bytes, VIR_DOMAIN_BLOCK_STATS_WRITE_BYTES, "write_total")
 
 #endif
-- 
2.3.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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]