conf: Improve the coding style

Add spaces around "<<", and remove the useless blank-line.
This commit is contained in:
Osier Yang 2013-05-16 11:10:28 +08:00
parent 504b4a8dae
commit a3f600f908

View File

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