Provide a proper prototype for target_words_bigendian(), and use
this function in the generic-loader to be able to move it to common-obj.
v2:
- Split up the single patch into two
- Add a proper comment in front of the prototype in the header
Thomas Huth (2):
cpu: Provide a proper prototype for target_words_bigendian() in a
header
hw/core/generic-loader: Compile only once, not for each target
exec.c | 5 -----
hw/core/Makefile.objs | 2 +-
hw/core/generic-loader.c | 6 +-----
hw/virtio/virtio.c | 1 -
include/qom/cpu.h | 11 +++++++++++
qom/cpu.c | 1 -
6 files changed, 13 insertions(+), 13 deletions(-)
--
1.8.3.1