mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
conf: use typedefs for enums in "src/conf/storage_conf.h"
In "src/conf/" there are many enumeration (enum) declarations. Similar to the recent cleanup to "src/util" directory, it's better to use a typedef for variable types, function types and other usages. Other enumeration and folders will be changed to typedef's in the future. Most of the files changed in this commit are related to storage (storage_conf) enums. Signed-off-by: Julio Faracco <jcfaracco@gmail.com> Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
1 parent
5a2cd6a775
commit
1ce86e62e1
6 files changed
+44
-44
No files matched your search
+1
-1
@@ -1029,7 +1029,7 @@ cmdPoolList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
|
||||
return false;
|
||||
}
|
||||
|
||||
switch ((enum virStoragePoolType) poolType) {
|
||||
switch ((virStoragePoolType) poolType) {
|
||||
case VIR_STORAGE_POOL_DIR:
|
||||
flags |= VIR_CONNECT_LIST_STORAGE_POOLS_DIR;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user