Re: [Qemu-devel] [PATCH] migration: Fix compilation with older compilers

2017-06-14 Thread Juan Quintela
Greg Kurz wrote: > On Wed, 14 Jun 2017 10:34:34 +0200 > Juan Quintela wrote: > >> That typedefs are needed on both files. New compilers (F25 where I > > Only LoadStateHandler is actually needed by both files but I guess > it is ok to keep these typedefs together. Yeap. Sorry for the confusing

Re: [Qemu-devel] [PATCH] migration: Fix compilation with older compilers

2017-06-14 Thread Greg Kurz
On Wed, 14 Jun 2017 10:34:34 +0200 Juan Quintela wrote: > That typedefs are needed on both files. New compilers (F25 where I Only LoadStateHandler is actually needed by both files but I guess it is ok to keep these typedefs together. Reviewed-by: Greg Kurz > work) don't complain about repeat

[Qemu-devel] [PATCH] migration: Fix compilation with older compilers

2017-06-14 Thread Juan Quintela
That typedefs are needed on both files. New compilers (F25 where I work) don't complain about repeating a typedef. But older ones complain. Signed-off-by: Juan Quintela --- include/migration/register.h | 3 --- include/migration/vmstate.h | 1 - include/qemu/typedefs.h | 2 ++ 3 files ch