]> git.proxmox.com Git - mirror_qemu.git/commit
hw/misc/unimp: Move struct to header file
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Mar 2018 10:45:38 +0000 (10:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Mar 2018 11:03:45 +0000 (11:03 +0000)
commita7bc4ee528c66486e43e815429b4aaf8cf2049d5
tree9609ad9d50f59948b509978b859328bbc6958464
parentc7b26382fee8b745c6e903c85281babf30c2cb7c
hw/misc/unimp: Move struct to header file

Move the definition of the struct for the unimplemented-device
from unimp.c to unimp.h, so that users can embed the struct
in their own device structs if they prefer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180220180325.29818-10-peter.maydell@linaro.org
hw/misc/unimp.c
include/hw/misc/unimp.h