pc-bios/s390-ccw: Move string arrays from bootmap header to .c file
commit6af978ae8b2912ec0c608402b8bedd60e85fa3a0
authorThomas Huth <thuth@redhat.com>
Tue, 6 Mar 2018 06:18:01 +0000 (6 07:18 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 8 Mar 2018 14:49:23 +0000 (8 15:49 +0100)
tree25dd270179b8725996d47813ea041688dda7f2b5
parent1ffed98f244bd005aef053be968e2ed939e91396
pc-bios/s390-ccw: Move string arrays from bootmap header to .c file

bootmap.h can currently only be included once - otherwise the linker
complains about multiple definitions of the "magic" strings. It's a
bad style to define string arrays in header files, so let's better
move these to the bootmap.c file instead where they are used.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1520317081-5341-1-git-send-email-thuth@redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
pc-bios/s390-ccw/bootmap.c
pc-bios/s390-ccw/bootmap.h