]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: use typedefs for enums in "src/cpu/cpu_map.h"
authorJulio Faracco <jcfaracco@gmail.com>
Sun, 1 Jun 2014 00:22:28 +0000 (21:22 -0300)
committerEric Blake <eblake@redhat.com>
Mon, 2 Jun 2014 21:15:05 +0000 (15:15 -0600)
commit5443b15829daa0d41a99753a0f694f1adceaea9f
tree824e50e1676aa443a8fd2350ab8741dbdb63c1fe
parent289a3163de9378ea5c7321ac44b7b34bf4806ea5
cpu: use typedefs for enums in "src/cpu/cpu_map.h"

In "src/cpu/" there are some enumerations (enum) declarations.
Similar to the recent cleanup to "src/util", "src/conf" and other
directories, 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. Specially, in files that are
in different places of "src/util" and "src/conf". Most of the files
changed in this commit are related to CPU (cpu_map.h) enums.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
src/cpu/cpu.c
src/cpu/cpu_map.c
src/cpu/cpu_map.h
src/cpu/cpu_powerpc.c
src/cpu/cpu_x86.c