On Fri, 21 Dec 2018 13:03:59 +0400 Marc-André Lureau <marcandre.lur...@redhat.com> wrote:
> Use static arrays instead. I decided to rename the conflicting > pc_compat_2_3() function with pc_compat_2_3_fn(). > > Suggested-by: Eduardo Habkost <ehabk...@redhat.com> > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > --- > include/hw/boards.h | 3 ++ > include/hw/compat.h | 39 -------------------- > include/hw/i386/pc.h | 88 ++------------------------------------------ > hw/core/machine.c | 41 +++++++++++++++++++++ > hw/i386/pc.c | 86 +++++++++++++++++++++++++++++++++++++++++++ > hw/i386/pc_piix.c | 13 +++---- > hw/ppc/spapr.c | 2 +- > 7 files changed, 139 insertions(+), 133 deletions(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>