[libvirt] [PATCH 1/3] cpu: use typedefs for enums in "src/cpu/cpu_map.h"

Eric Blake eblake at redhat.com
Mon Jun 2 21:20:02 UTC 2014


On 05/31/2014 06:22 PM, Julio Faracco wrote:
> 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 at gmail.com>
> ---
>  src/cpu/cpu.c         |    2 +-
>  src/cpu/cpu_map.c     |    2 +-
>  src/cpu/cpu_map.h     |    6 +++---
>  src/cpu/cpu_powerpc.c |    2 +-
>  src/cpu/cpu_x86.c     |    2 +-
>  5 files changed, 7 insertions(+), 7 deletions(-)

ACK and pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140602/6600af05/attachment-0001.sig>


More information about the libvir-list mailing list