]> xenbits.xensource.com Git - libvirt.git/commitdiff
conf: Improve the coding style
authorOsier Yang <jyang@redhat.com>
Thu, 16 May 2013 03:10:28 +0000 (11:10 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 16 May 2013 03:11:17 +0000 (11:11 +0800)
Add spaces around "<<", and remove the useless blank-line.

src/conf/storage_conf.c

index 518cd1e7e25eee774e4161388a87641ebf96bcf1..e21c39a5ba02056df62f4dbe88d890353751ab23 100644 (file)
@@ -110,17 +110,15 @@ struct _virStorageVolOptions {
 
 /* Flags to indicate mandatory components in the pool source */
 enum {
-    VIR_STORAGE_POOL_SOURCE_HOST            = (1<<0),
-    VIR_STORAGE_POOL_SOURCE_DEVICE          = (1<<1),
-    VIR_STORAGE_POOL_SOURCE_DIR             = (1<<2),
-    VIR_STORAGE_POOL_SOURCE_ADAPTER         = (1<<3),
-    VIR_STORAGE_POOL_SOURCE_NAME            = (1<<4),
-    VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN   = (1<<5),
-    VIR_STORAGE_POOL_SOURCE_NETWORK         = (1<<6),
+    VIR_STORAGE_POOL_SOURCE_HOST            = (1 << 0),
+    VIR_STORAGE_POOL_SOURCE_DEVICE          = (1 << 1),
+    VIR_STORAGE_POOL_SOURCE_DIR             = (1 << 2),
+    VIR_STORAGE_POOL_SOURCE_ADAPTER         = (1 << 3),
+    VIR_STORAGE_POOL_SOURCE_NAME            = (1 << 4),
+    VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN   = (1 << 5),
+    VIR_STORAGE_POOL_SOURCE_NETWORK         = (1 << 6),
 };
 
-
-
 typedef struct _virStoragePoolOptions virStoragePoolOptions;
 typedef virStoragePoolOptions *virStoragePoolOptionsPtr;
 struct _virStoragePoolOptions {