The internal state of mc146818rtc is currently exported as RTCState. This violates encapsulation. Resolve it by first converting the last external user, then by unexporting RTCState.
Bernhard Beschow (2): isa/piix4: Resolve RTCState attribute mc146818rtc: Unexport RTCState hw/isa/piix4.c | 15 +-------------- hw/rtc/mc146818rtc.c | 34 ++++++++++++++++++++++++++++++++++ include/hw/rtc/mc146818rtc.h | 35 +---------------------------------- 3 files changed, 36 insertions(+), 48 deletions(-) -- 2.35.1