On Fri, 21 Dec 2018 13:04:01 +0400 Marc-André Lureau <marcandre.lur...@redhat.com> wrote:
> Use static arrays instead. I decided to rename the conflicting > pc_compat_2_1() function with pc_compat_2_1_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 | 31 ------------------------------- > include/hw/i386/pc.h | 17 +++-------------- > hw/core/machine.c | 33 +++++++++++++++++++++++++++++++++ > hw/i386/pc.c | 15 +++++++++++++++ > hw/i386/pc_piix.c | 12 +++++------- > hw/ppc/spapr.c | 6 +----- > 7 files changed, 60 insertions(+), 57 deletions(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>