qemu-e2k/hw/misc/macio
Peter Maydell 2f93d8b04a rtc: Move RTC function prototypes to their own header
softmmu/rtc.c defines two public functions: qemu_get_timedate() and
qemu_timedate_diff().  Currently we keep the prototypes for these in
qemu-common.h, but most files don't need them.  Move them to their
own header, a new include/sysemu/rtc.h.

Since the C files using these two functions did not need to include
qemu-common.h for any other reason, we can remove those include lines
when we add the include of the new rtc.h.

The license for the .h file follows that of the softmmu/rtc.c
where both the functions are defined.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2022-01-28 14:29:46 +00:00
..
cuda.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
gpio.c
Kconfig
mac_dbdma.c
macio.c
meson.build
pmu.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
trace-events
trace.h