From: Osier Yang Date: Thu, 16 May 2013 03:10:28 +0000 (+0800) Subject: conf: Improve the coding style X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a3f600f9087d6b8936bf14dbe3711dba36fd5d94;p=libvirt.git conf: Improve the coding style Add spaces around "<<", and remove the useless blank-line. --- diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index 518cd1e7e2..e21c39a5ba 100644 --- a/src/conf/storage_conf.c +++ b/src/conf/storage_conf.c @@ -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 {